fix(Core/QAston): fixed shields oneshotting (#13271)

* fix(Core/QAston): fixed shields oneshotting

* fix build
This commit is contained in:
Angelo Venturini
2022-10-04 14:37:48 -03:00
committed by GitHub
parent a818bcf3e2
commit e05f61d1b3
4 changed files with 57 additions and 40 deletions

View File

@@ -891,7 +891,7 @@ struct SpellNonMeleeDamage
{
SpellNonMeleeDamage(Unit* _attacker, Unit* _target, SpellInfo const* _spellInfo, uint32 _schoolMask)
: target(_target), attacker(_attacker), spellInfo(_spellInfo), damage(0), overkill(0), schoolMask(_schoolMask),
absorb(0), resist(0), physicalLog(false), unused(false), blocked(0), HitInfo(0), cleanDamage(0)
absorb(0), resist(0), physicalLog(false), unused(false), blocked(0), HitInfo(0), cleanDamage(0), fullBlock(false)
{}
Unit* target;
@@ -908,6 +908,7 @@ struct SpellNonMeleeDamage
uint32 HitInfo;
// Used for help
uint32 cleanDamage;
bool fullBlock;
};
struct SpellPeriodicAuraLogInfo