Core/SAI: Add 2nd parameter to SMART_ACTION_CALL_FOR_HELP to say "%s calls for help!" if enabled

Similar to SMART_ACTION_FLEE_FOR_ASSIST "%s attempts to run away in fear!"
This commit is contained in:
Nay committed 2013-01-10 15:09:12 +00:00
1 parent c9650de789
commit 8274e42e3d
4 files changed
+12 -2

No files matched your search

@@ -420,7 +420,7 @@ enum SMART_ACTION
SMART_ACTION_UPDATE_TEMPLATE = 36, // Entry, Team
SMART_ACTION_DIE = 37, // No Params
SMART_ACTION_SET_IN_COMBAT_WITH_ZONE = 38, // No Params
SMART_ACTION_CALL_FOR_HELP = 39, // Radius
SMART_ACTION_CALL_FOR_HELP = 39, // Radius, With Emote
SMART_ACTION_SET_SHEATH = 40, // Sheath (0-unarmed, 1-melee, 2-ranged)
SMART_ACTION_FORCE_DESPAWN = 41, // timer
SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL = 42, // MinHpValue(+pct, -flat)
@@ -677,6 +677,7 @@ struct SmartAction
struct
{
uint32 range;
uint32 withEmote;
} callHelp;
struct