feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411)
This commit is contained in:
parent
3a41901154
commit
b17d69b33c
8 changed files with 11 additions and 11 deletions
|
|
@ -893,7 +893,7 @@ void SmartAI::IsSummonedBy(WorldObject* summoner)
|
|||
GetScript()->ProcessEventsFor(SMART_EVENT_JUST_SUMMONED, summoner->ToUnit(), 0, 0, false, nullptr, summoner->ToGameObject());
|
||||
}
|
||||
|
||||
void SmartAI::DamageDealt(Unit* doneTo, uint32& damage, DamageEffectType /*damagetype*/)
|
||||
void SmartAI::DamageDealt(Unit* doneTo, uint32& damage, DamageEffectType /*damagetype*/, SpellSchoolMask /*damageSchoolMask*/)
|
||||
{
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_DAMAGED_TARGET, doneTo, damage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue