mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 01:37:03 +00:00
[11791] Implement spells 69048, 69051 and 69023
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
8d58bfe7ed
commit
0bb3a4c84d
5 changed files with 36 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue