diff options
author | maximius <none@none> | 2009-09-19 12:13:08 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-19 12:13:08 -0700 |
commit | 0cf75ef9eaca43ebc9b7f8cde09428829989cf36 (patch) | |
tree | 24f56d1358b46ca0ad5dc513e3b1a3cdcd90bfb0 /src/game/Creature.h | |
parent | 15d85229fae45405557aa6b706681dabaf854ed5 (diff) |
*Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
*Judgement of Light PPM based, not 100%. By Drevi.
*Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo.
*Correct Wintergrasp Tenacity formulas, by Gyullo.
*A Spirit Guide Escort Quest, code from SD2, patch by manuel.
*TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index 63baee1799b..d7c09c35548 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -317,6 +317,7 @@ struct CreatureDataAddonAura struct CreatureDataAddon { uint32 guidOrEntry; + uint32 path_id; uint32 mount; uint32 bytes1; uint32 bytes2; @@ -696,13 +697,13 @@ class TRINITY_DLL_SPEC Creature : public Unit uint32 GetGlobalCooldown() const { return m_GlobalCooldown; } - uint32 GetWaypointPathId() const { return m_pathId; } - void SetWaypointPathId(uint32 pathid) { m_pathId = pathid; } + uint32 GetWaypointPath(){return m_path_id;} + void LoadPath(uint32 pathid) { m_path_id = pathid; } uint32 GetCurrentWaypointID(){return m_waypointID;} void UpdateWaypointID(uint32 wpID){m_waypointID = wpID;} - void SearchFormationAndPath(); + void SearchFormation(); CreatureGroup *GetFormation() {return m_formation;} void SetFormation(CreatureGroup *formation) {m_formation = formation;} @@ -777,7 +778,7 @@ class TRINITY_DLL_SPEC Creature : public Unit private: //WaypointMovementGenerator vars uint32 m_waypointID; - uint32 m_pathId; + uint32 m_path_id; //Formation var CreatureGroup *m_formation; |