[Bug Fix] Invisible will display as dropped now on air pets when they attack. (#2042)

invisible display issue on pets
This commit is contained in:
KayenEQ 2022-03-07 16:41:43 -05:00 committed by GitHub
parent ce85c70a07
commit 5b6f1d38be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9548,7 +9548,7 @@ void Mob::CalcSpellPowerDistanceMod(uint16 spell_id, float range, Mob* caster)
void Mob::BreakInvisibleSpells()
{
if(invisible) {
ZeroInvisibleVars(InvisType::T_INVISIBLE);
nobuff_invisible = 0;
BuffFadeByEffect(SE_Invisibility);
BuffFadeByEffect(SE_Invisibility2);
}