1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

fix Effect

This commit is contained in:
collett 2024-06-12 03:56:01 +09:00
parent 9ef7a8642d
commit dd3abf2f18
3 changed files with 11 additions and 11 deletions

View file

@ -694,10 +694,10 @@ namespace Sapphire::Common
MpGain = 11,
TpLoss = 12,
TpGain = 13,
GpGain = 14,
ApplyStatusEffectTarget = 15,
ApplyStatusEffectSource = 16, // effect entry on target but buff applies to source, like storm's eye
StatusNoEffect = 20, // shifted one up from 5.18
//GpGain = 14,
ApplyStatusEffectTarget = 14, // shifted up again 6.x, need to recheck everything I guess
ApplyStatusEffectSource = 15,
StatusNoEffect = 20,
/*!
* @brief Tells the client that it should show combo indicators on actions.
*
@ -705,10 +705,10 @@ namespace Sapphire::Common
* @param value The actionid that starts/continues the combo. eg, 3617 will start a spinning slash and/or syphon strike combo
*/
Provoke = 24,
StartActionCombo = 27, // shifted one up from 5.18
ComboSucceed = 28, // shifted one up from 5.18, on retail this is not seen anymore, still working though.
StartActionCombo = 27,
ComboSucceed = 28,
Knockback = 33,
Mount = 40, // shifted one down from 5.18
Mount = 40,
VFX = 59, // links to VFX sheet
};

View file

@ -88,7 +88,7 @@ enum ServerZoneIpcType :
LogMessage = 0x316, // updated 6.48
Chat = 0x2d7, // updated 6.48
Chat = 0xF2d7, // updated 6.48
PartyChat = 0x0065,
WorldVisitList = 0xF0FE, // added 4.5

View file

@ -554,11 +554,11 @@ namespace Sapphire::Network::Packets::Server
*/
uint32_t sequence;
float animationLockTime; // maybe? doesn't seem to do anything
float animationLockTime;
uint32_t someTargetId; // always 0x0E000000?
/*!
* @brief The cast sequence from the originating player. Should only be sent to the source, 0 for every other player.
* @brief The cast sequence from the originating player.
*
* This needs to match the sequence sent from the player in the action start packet otherwise you'll cancel the
* initial animation and start a new one once the packet arrives.
@ -575,7 +575,7 @@ namespace Sapphire::Network::Packets::Server
uint16_t padding_22[3];
uint8_t effects[65];
uint8_t effects[64];
uint16_t padding_6A[3];