Exemplo n.º 1
0
        public void OnImpact(NWCreature creature, NWObject target, int perkLevel, int spellTier)
        {
            int adjust = perkLevel * 10;

            _.ApplyEffectToObject(DURATION_TYPE_TEMPORARY, _.EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE), target, 3.0f);
            EnmityService.AdjustPercentEnmityOnAllTaggedCreatures(creature, -adjust, -adjust);
        }
Exemplo n.º 2
0
        public void OnImpact(NWCreature creature, NWObject target, int perkLevel, int spellTier)
        {
            int adjust = perkLevel * 10;

            _.ApplyEffectToObject(DurationType.Temporary, _.EffectVisualEffect(VisualEffect.Dur_Ghostly_Visage), target, 3.0f);
            EnmityService.AdjustPercentEnmityOnAllTaggedCreatures(creature, -adjust, -adjust);
        }