mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
feat(Core/SmartScripts): SMART_ACTION_PLAY_CINEMATIC (#10231)
* cherry-pick commit (63aa5d1e35)
This commit is contained in:
committed by
GitHub
parent
8f249a3d84
commit
9fadfa6499
@@ -618,12 +618,12 @@ enum SMART_ACTION
|
||||
SMART_ACTION_DESPAWN_SPAWNGROUP = 132, // TODO: NOT SUPPORTED YET
|
||||
SMART_ACTION_RESPAWN_BY_SPAWNID = 133, // TODO: NOT SUPPORTED YET
|
||||
// SMART_ACTION_INVOKER_CAST = 134, // TODO: solve name conflicts
|
||||
|
||||
SMART_ACTION_TC_END = 135, // placeholder
|
||||
SMART_ACTION_PLAY_CINEMATIC = 135, // entry, cinematic
|
||||
SMART_ACTION_SET_MOVEMENT_SPEED = 136, // movementType, speedInteger, speedFraction
|
||||
|
||||
SMART_ACTION_SET_HEALTH_PCT = 142, // percent
|
||||
|
||||
SMART_ACTION_TC_END = 199, // placeholder
|
||||
// AC-only SmartActions:
|
||||
|
||||
SMART_ACTION_AC_START = 200, // placeholder
|
||||
@@ -1316,6 +1316,11 @@ struct SmartAction
|
||||
{
|
||||
uint32 percent;
|
||||
} setHealthPct;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 entry;
|
||||
} cinematic;
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user