Changeset 135 for trunk/src/game/PetAI.h
- Timestamp:
- 11/19/08 13:39:16 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetAI.h
r102 r135 26 26 27 27 class Creature; 28 class Spell; 28 29 29 30 class TRINITY_DLL_DECL PetAI : public CreatureAI … … 39 40 void AttackedBy(Unit*); 40 41 bool IsVisible(Unit *) const; 42 void JustDied(Unit* who) { _stopAttack(); } 41 43 42 44 void UpdateAI(const uint32); 43 void UpdateAllies();44 45 static int Permissible(const Creature *); 45 46 … … 49 50 void _stopAttack(void); 50 51 52 void UpdateAllies(); 53 51 54 Creature &i_pet; 52 uint64 i_victimGuid;55 bool inCombat; 53 56 TimeTracker i_tracker; 54 //uint32 i_RepeatAction;55 57 std::set<uint64> m_AllySet; 56 58 uint32 m_updateAlliesTimer; 59 60 typedef std::pair<Unit*, Spell*> TargetSpellPair; 61 std::vector<TargetSpellPair> m_targetSpellStore; 57 62 }; 58 63 #endif