Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
- index c9bae9e..753fb50 100644
- --- a/src/server/game/Spells/Auras/SpellAuras.cpp
- +++ b/src/server/game/Spells/Auras/SpellAuras.cpp
- @@ -1405,33 +1405,6 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
- }
- }
- }
- - switch(GetId())
- - {
- - case 47788: // Guardian Spirit
- - if (removeMode != AURA_REMOVE_BY_EXPIRE)
- - break;
- - if (caster->GetTypeId() != TYPEID_PLAYER)
- - break;
- -
- - Player *player = caster->ToPlayer();
- - // Glyph of Guardian Spirit
- - if (AuraEffect * aurEff = player->GetAuraEffect(63231, 0))
- - {
- - if (!player->HasSpellCooldown(47788))
- - break;
- -
- - player->RemoveSpellCooldown(GetSpellProto()->Id, true);
- - player->AddSpellCooldown(GetSpellProto()->Id, 0, uint32(time(NULL) + aurEff->GetAmount()));
- -
- - WorldPacket data(SMSG_SPELL_COOLDOWN, 8+1+4+4);
- - data << uint64(player->GetGUID());
- - data << uint8(0x0); // flags (0x1, 0x2)
- - data << uint32(GetSpellProto()->Id);
- - data << uint32(aurEff->GetAmount()*IN_MILLISECONDS);
- - player->SendDirectMessage(&data);
- - }
- - break;
- - }
- break;
- case SPELLFAMILY_ROGUE:
- // Remove Vanish on stealth remove
Advertisement
Add Comment
Please, Sign In to add comment