Hi, how to add spells 55078 55095 (frost Fever & Blood Plague) to creature 27893 (Rune Weapon).
It can fix disease aplying by rune weapon when dk cast icy touch/plague strike/chains of ice.
Hi, how to add spells 55078 55095 (frost Fever & Blood Plague) to creature 27893 (Rune Weapon).
It can fix disease aplying by rune weapon when dk cast icy touch/plague strike/chains of ice.
// Dancing Rune Weapon
if (dummySpell->Id == 49028)
{
// 1 dummy aura for dismiss rune blade
if (effIndex != 1)
return false;
Unit* pPet = NULL;
for (ControlList::const_iterator itr = m_Controlled.begin(); itr != m_Controlled.end(); ++itr) // Find Rune Weapon
if ((*itr)->GetEntry() == 27893)
{
pPet = *itr;
break;
}
if (pPet && pPet->getVictim() && damage && procSpell)
{
uint32 procDmg = damage / 2;
pPet->SendSpellNonMeleeDamageLog(pPet->getVictim(), procSpell->Id, procDmg, procSpell->GetSchoolMask(), 0, 0, false, 0, false);
pPet->DealDamage(pPet->getVictim(), procDmg, NULL, SPELL_DIRECT_DAMAGE, procSpell->GetSchoolMask(), procSpell, true);
break;
}
else
return false;
}
look at this, so this spell will never work correctly
your rune weapon must cast the original spells
you should also add the 50% decrease dmg aura to npc
…
[/CODE]