[Bug Fix] Invis vs. Undead/Animal Breaks Charm for Pets (#3587)

* IVU & IVA break charm pets #2212

* fix typing

* fix tab spacing

* Formatting

* Formatting for CalcInvisibleLevel

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
Clayton Dunwell
2023-09-19 10:16:12 -04:00
committed by GitHub
parent 7166fcc650
commit f395ee0508
2 changed files with 37 additions and 35 deletions
+2
View File
@@ -269,6 +269,8 @@ public:
return;
}
bool HasAnInvisibilityEffect();
void BreakCharmPetIfConditionsMet();
//Invisible
bool IsInvisible(Mob* other = 0) const;
void SetInvisible(uint8 state, bool set_on_bonus_calc = false);