aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-31 16:24:19 -0500
committermegamage <none@none>2009-05-31 16:24:19 -0500
commit067cbec40d33b865b30299368534ae0cd673f336 (patch)
tree32df305081bddb28a8f24ed9997454adc3462b80 /src/game/CreatureEventAI.h
parent552e08b3f0efc19f3aa3504badccffbb05a983bd (diff)
[7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.h')
-rw-r--r--src/game/CreatureEventAI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/CreatureEventAI.h b/src/game/CreatureEventAI.h
index bdb64f279e9..d94ceeeac18 100644
--- a/src/game/CreatureEventAI.h
+++ b/src/game/CreatureEventAI.h
@@ -287,6 +287,7 @@ struct CreatureEventAI_Action
struct
{
uint32 state; // 0 = stop combat based movement, anything else continue attacking
+ uint32 melee; // if set: at stop send melee combat stop if in combat, use for terminate melee fighting state for switch to ranged
} combat_movement;
// ACTION_T_SET_PHASE = 22
struct