Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/71c2f0af46b3ccec8c3422534e4403f3650b757d)
This commit is contained in:
@@ -655,7 +655,7 @@ namespace Game.AI
|
||||
}
|
||||
}
|
||||
|
||||
public override void DamageTaken(Unit attacker, ref uint damage)
|
||||
public override void DamageTaken(Unit attacker, ref uint damage, DamageEffectType damageType, SpellInfo spellInfo = null)
|
||||
{
|
||||
AttackStart(attacker);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user