[11328] Move dummy effect code for spell 38194 to proper spell family case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
DaC 2011-04-10 21:07:22 +04:00 committed by VladimirMangos
parent 71add7c73b
commit 347070c4bc
2 changed files with 9 additions and 9 deletions

View file

@ -1233,14 +1233,6 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->CastCustomSpell(unitTarget, 37675, &basepoints0, NULL, NULL, true); m_caster->CastCustomSpell(unitTarget, 37675, &basepoints0, NULL, NULL, true);
return; return;
} }
case 38194: // Blink
{
// Blink
if (unitTarget)
m_caster->CastSpell(unitTarget, 38203, true);
return;
}
case 39189: // Sha'tari Torch case 39189: // Sha'tari Torch
{ {
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER) if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
@ -2306,6 +2298,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
} }
return; return;
} }
case 38194: // Blink
{
// Blink
if (unitTarget)
m_caster->CastSpell(unitTarget, 38203, true);
return;
}
} }
// Conjure Mana Gem // Conjure Mana Gem

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11327" #define REVISION_NR "11328"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__