[11791] Implement spells 69048, 69051 and 69023

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Schmoozerd 2011-09-11 11:57:18 +02:00
parent 8d58bfe7ed
commit 0bb3a4c84d
5 changed files with 36 additions and 1 deletions

View file

@ -2977,6 +2977,15 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
if (GetStat(STAT_AGILITY) > stat) { trigger_spell_id = 67772; }
break;
}
case 69023: // Mirrored Soul
{
int32 basepoints = (int32) (damage * 0.45f);
if (Unit* caster = triggeredByAura->GetCaster())
// Actually this spell should be sent with SMSG_SPELL_START
CastCustomSpell(caster, 69034, &basepoints, NULL, NULL, true, NULL, triggeredByAura, GetObjectGuid());
return SPELL_AURA_PROC_OK;
}
}
break;
case SPELLFAMILY_MAGE: