So basically I am trying to make death and decay healing the target instead of dealing damage to it.
So far I succeed to make the spell heal instead of dealing damage, but there's one problem: It only affects unfriendly targets. So far I have this:
Code:
sp = dbcSpell.LookupEntryForced( 49936 );
if( sp != NULL )
{
sp->EffectApplyAuraName[0] = SPELL_AURA_PERIODIC_HEAL;
sp->EffectBasePoints[0] = 200;
//sp->Effect[0] = SPELL_EFFECT_HEAL;
sp->EffectImplicitTargetA[0] = EFF_TARGET_ALL_FRIENDLY_IN_AREA;
sp->EffectImplicitTargetB[0] = 0;
sp->Effect[0] = SPELL_EFFECT_PERSISTENT_AREA_AURA;
}
The EffectImplicitTarget commands does not have ANY effect at all.. So could anyone who is a bit more experienced with the ArcEmu core help me out on this one?
Thx..