[11142] Implement dummy effect for spell [3360]

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
dpedroia15 2011-02-12 15:22:50 +02:00 committed by Ambal
parent f4e8c3d679
commit 4483cbc06d
2 changed files with 11 additions and 1 deletions

View file

@ -769,6 +769,16 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
{ {
switch(m_spellInfo->Id) switch(m_spellInfo->Id)
{ {
case 3360: // Curse of the Eye
{
if(!unitTarget)
return;
uint32 spell_id = (unitTarget->getGender() == GENDER_MALE) ? 10651: 10653;
m_caster->CastSpell(unitTarget, spell_id, true);
return;
}
case 7671: // Transformation (human<->worgen) case 7671: // Transformation (human<->worgen)
{ {
if (!unitTarget) if (!unitTarget)

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 "11141" #define REVISION_NR "11142"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__