mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
fix(Core/Unit): update death state before handling RemoveAllAurasOnDeath() (#20124)
fix setDeathState
[PATCH] Don't allow units to enter combat upon death
91ebea4a77.patch
Co-authored-by: trickerer <onlysuffering@gmail.com>
This commit is contained in:
@@ -831,7 +831,7 @@ public:
|
||||
void SetCombatTimer(uint32 timer) { m_CombatTimer = timer; }
|
||||
|
||||
// Threat related methods
|
||||
[[nodiscard]] bool CanHaveThreatList() const;
|
||||
[[nodiscard]] bool CanHaveThreatList(bool skipAliveCheck = false) const;
|
||||
void AddThreat(Unit* victim, float fThreat, SpellSchoolMask schoolMask = SPELL_SCHOOL_MASK_NORMAL, SpellInfo const* threatSpell = nullptr);
|
||||
float ApplyTotalThreatModifier(float fThreat, SpellSchoolMask schoolMask = SPELL_SCHOOL_MASK_NORMAL);
|
||||
void TauntApply(Unit* victim);
|
||||
|
||||
Reference in New Issue
Block a user