mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 16:43:47 +00:00
fix(Core/Creatures): Creatures' guardian should not despawn on summon… (#7607)
- Closes #6211
This commit is contained in:
@@ -1918,7 +1918,7 @@ public:
|
||||
|
||||
ControlSet m_Controlled;
|
||||
[[nodiscard]] Unit* GetFirstControlled() const;
|
||||
void RemoveAllControlled();
|
||||
void RemoveAllControlled(bool onDeath = false);
|
||||
|
||||
[[nodiscard]] bool IsCharmed() const { return GetCharmerGUID(); }
|
||||
[[nodiscard]] bool isPossessed() const { return HasUnitState(UNIT_STATE_POSSESSED); }
|
||||
@@ -2244,7 +2244,7 @@ public:
|
||||
void ModifyAuraState(AuraStateType flag, bool apply);
|
||||
uint32 BuildAuraStateUpdateForTarget(Unit* target) const;
|
||||
bool HasAuraState(AuraStateType flag, SpellInfo const* spellProto = nullptr, Unit const* Caster = nullptr) const;
|
||||
void UnsummonAllTotems();
|
||||
void UnsummonAllTotems(bool onDeath = false);
|
||||
Unit* GetMagicHitRedirectTarget(Unit* victim, SpellInfo const* spellInfo);
|
||||
Unit* GetMeleeHitRedirectTarget(Unit* victim, SpellInfo const* spellInfo = nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user