mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10865"
|
||||
#define REVISION_NR "10866"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue