Changeset 55 for trunk/src/game/CreatureAI.h
- Timestamp:
- 11/19/08 13:29:45 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/CreatureAI.h
r44 r55 83 83 virtual void EnterEvadeMode() = 0; 84 84 85 // Called at any heal cast/item used (call non implemented)86 virtual void HealBy(Unit * /*healer*/, uint32 /*amount_healed*/) {}87 88 // Called at any Damage to any victim (before damage apply)89 virtual void DamageDeal(Unit * /*done_to*/, uint32 & /*damage*/) {}90 91 85 // Called at any Damage from any attacker (before damage apply) 92 86 virtual void DamageTaken(Unit *done_by, uint32 & /*damage*/) { AttackedBy(done_by); } … … 111 105 // Called when hit by a spell 112 106 virtual void SpellHit(Unit*, const SpellEntry*) {} 107 108 // Called when spell hits a target 109 virtual void SpellHitTarget(Unit* target, const SpellEntry*) {} 113 110 114 111 // Called when vitim entered water and creature can not enter water