diff --git a/src/common/Common.h b/src/common/Common.h index cb4c1283..1a7ad60d 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -579,6 +579,13 @@ namespace Sapphire::Common TpLoss = 12, TpGain = 13, GpGain = 14, + /*! + * @brief Tells the client that it should show combo indicators on actions. + * + * @param flags Required to be 128, doesn't show combo rings on hotbars otherwise + * @param value The actionid that starts/continues the combo. eg, 3617 will start a spinning slash and/or syphon strike combo + */ + StartActionCombo = 28, Knockback = 33, Mount = 38, VFX = 59, // links to VFX sheet @@ -596,7 +603,8 @@ namespace Sapphire::Common enum ItemActionType : uint16_t { - ItemActionVFX = 944, + ItemActionVFX = 852, + ItemActionVFX2 = 944, }; enum ActionEffectDisplayType : uint8_t @@ -931,6 +939,18 @@ namespace Sapphire::Common uint16_t cost; }; + enum LevelTableEntry : uint8_t + { + PIE, + MP, + MAIN, + SUB, + DIV, + HP, + ELMT, + THREAT + }; + using PlayerStateFlagList = std::vector< PlayerStateFlag >; } diff --git a/src/scripts/action/darkknight/ActionHardSlash3617.cpp b/src/scripts/action/darkknight/ActionHardSlash3617.cpp new file mode 100644 index 00000000..6b582c04 --- /dev/null +++ b/src/scripts/action/darkknight/ActionHardSlash3617.cpp @@ -0,0 +1,22 @@ +#include