mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10866] Unsummon guardians at re-cast only for non-triggered case.
This commit is contained in:
parent
af66b470a8
commit
f228a1c08d
2 changed files with 3 additions and 3 deletions
|
|
@ -4628,8 +4628,8 @@ void Spell::DoSummonGuardian(SpellEffectIndex eff_idx, uint32 forceFaction)
|
|||
|
||||
PetType petType = propEntry->Title == UNITNAME_SUMMON_TITLE_COMPANION ? PROTECTOR_PET : GUARDIAN_PET;
|
||||
|
||||
// second cast unsummon guardian(s) (guardians without like functionality have cooldown > spawn time)
|
||||
if (m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
// second direct cast unsummon guardian(s) (guardians without like functionality have cooldown > spawn time)
|
||||
if (!m_IsTriggeredSpell && m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
bool found = false;
|
||||
// including protector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue