Permalink
Browse files

[12437] Implement spell 24324

  • Loading branch information...
xfurry committed Apr 4, 2013
1 parent 5895b2b commit 62c167d586ae0291faebe10929ba0d9513150431
Showing with 9 additions and 1 deletion.
  1. +8 −0 src/game/SpellEffects.cpp
  2. +1 −1 src/shared/revision_nr.h
@@ -6904,6 +6904,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget, 24321, true, NULL, NULL, m_caster->GetObjectGuid());
return;
}
case 24324: // Blood Siphon
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
unitTarget->CastSpell(m_caster, unitTarget->HasAura(24321) ? 24323 : 24322, true);
return;
}
case 24590: // Brittle Armor - need remove one 24575 Brittle Armor aura
unitTarget->RemoveAuraHolderFromStack(24575);
return;
View
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12436"
#define REVISION_NR "12437"
#endif // __REVISION_NR_H__

0 comments on commit 62c167d

Please sign in to comment.