Core/Spells: remove 'Vanish Purge' hack, the spell is present on DB and is copy of one in vanilla DBC
Thanks to killerwife for the heads-up
This commit is contained in:
1 parent
cecaedfb80
commit
dc46f0621b
3 files changed
+36
-22
No files matched your search
@@ -478,27 +478,6 @@ void Spell::EffectTriggerSpell(SpellEffIndex effIndex)
|
||||
// special cases
|
||||
switch (triggered_spell_id)
|
||||
{
|
||||
// Vanish (not exist)
|
||||
case 18461:
|
||||
{
|
||||
unitTarget->RemoveMovementImpairingAuras(true);
|
||||
unitTarget->RemoveAurasByType(SPELL_AURA_MOD_STALKED);
|
||||
|
||||
// If this spell is given to an NPC, it must handle the rest using its own AI
|
||||
if (unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
// See if we already are stealthed. If so, we're done.
|
||||
if (unitTarget->HasAura(1784))
|
||||
return;
|
||||
|
||||
// Reset cooldown on stealth if needed
|
||||
if (unitTarget->GetSpellHistory()->HasCooldown(1784))
|
||||
unitTarget->GetSpellHistory()->ResetCooldown(1784);
|
||||
|
||||
unitTarget->CastSpell(unitTarget, 1784, true);
|
||||
return;
|
||||
}
|
||||
// Demonic Empowerment -- succubus
|
||||
case 54437:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user