mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
feat(Core/SmartScripts): SMART_ACTION_SET_MOVEMENT_SPEED (#10018)
This commit is contained in:
committed by
GitHub
parent
5f9235a62d
commit
2bc373b4f6
@@ -607,6 +607,7 @@ enum SMART_ACTION
|
||||
// SMART_ACTION_INVOKER_CAST = 134, // TODO: solve name conflicts
|
||||
|
||||
SMART_ACTION_TC_END = 135, // placeholder
|
||||
SMART_ACTION_SET_MOVEMENT_SPEED = 136, // movementType, speedInteger, speedFraction
|
||||
|
||||
SMART_ACTION_SET_HEALTH_PCT = 142, // percent
|
||||
|
||||
@@ -1289,6 +1290,13 @@ struct SmartAction
|
||||
uint32 timer;
|
||||
} corpseDelay;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 movementType;
|
||||
uint32 speedInteger;
|
||||
uint32 speedFraction;
|
||||
} movementSpeed;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 percent;
|
||||
|
||||
Reference in New Issue
Block a user