Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-10-25 11:12:47 +02:00
parent 4f5a60c487
commit 42065a236e
4 changed files with 18 additions and 9 deletions
-3
View File
@@ -93,9 +93,6 @@ class CreatureAI : public UnitAI
// Called for reaction at enter to combat if not in combat yet (enemy can be NULL)
virtual void EnterCombat(Unit* /*enemy*/) {}
// Called when the creature receives heal
virtual void HealReceived(Unit* /*done_by*/, uint32& /*addhealth*/) {}
// Called when the creature is killed
virtual void JustDied(Unit *) {}