feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411)

This commit is contained in:
Andrew
2025-02-12 08:16:02 -03:00
committed by GitHub
parent 3a41901154
commit b17d69b33c
8 changed files with 11 additions and 11 deletions

View File

@@ -131,7 +131,7 @@ public:
void IsSummonedBy(WorldObject* summoner) override;
// Called at any Damage to any victim (before damage apply)
void DamageDealt(Unit* doneTo, uint32& damage, DamageEffectType damagetyp) override;
void DamageDealt(Unit* doneTo, uint32& damage, DamageEffectType damagetyp, SpellSchoolMask damageSchoolMask) override;
// Called when a summoned creature dissapears (UnSommoned)
void SummonedCreatureDespawn(Creature* unit) override;