mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[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:
parent
71add7c73b
commit
347070c4bc
2 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue