Core: Fixes some warnings
Core/SmartAI: Fixed DamageTaken and DamageDealt hooks --HG-- branch : trunk extra : rebase_source : 062f1c68cd1d318d192b294a493db17a1943bee2
This commit is contained in:
@@ -106,7 +106,7 @@ class SmartAI : public CreatureAI
|
||||
void SpellHitTarget(Unit* target, const SpellEntry* pSpell);
|
||||
|
||||
// Called at any Damage from any attacker (before damage apply)
|
||||
void DamageTaken(Unit* done_by, uint32& damage, DamageEffectType damagetype);
|
||||
void DamageTaken(Unit* done_by, uint32& damage);
|
||||
|
||||
// Called when the creature receives heal
|
||||
void HealReceived(Unit* done_by, uint32& addhealth);
|
||||
@@ -124,7 +124,7 @@ class SmartAI : public CreatureAI
|
||||
void IsSummonedBy(Unit* summoner);
|
||||
|
||||
// Called at any Damage to any victim (before damage apply)
|
||||
void DamageDealt(Unit * done_to, uint32 & damage);
|
||||
void DamageDealt(Unit * done_to, uint32 & damage, DamageEffectType /*damagetype*/);
|
||||
|
||||
// Called when a summoned creature dissapears (UnSommoned)
|
||||
void SummonedCreatureDespawn(Creature* unit);
|
||||
|
||||
Reference in New Issue
Block a user