Aller au contenu

Photo

Apply Spells OnSpawn


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
NineHells

NineHells
  • Members
  • 10 messages
Hi there,
maybe someone of you can help me with a script. I want to create an Ethereal Marauder. The spells "Displacement" and "Ethereal Visage" should be applied after spawn for an unlimited number of rounds (without casting by the marauder). I'd already be happy with this. :-)

If it's possible, it would be nice, if these spells are suppressed for 2 seconds after the marauder attacked a PC (and then switch on again). Does anybody of you know how to script this?

#2
Pearls

Pearls
  • Members
  • 106 messages
didnt test but these are the effects you want, someone else will have to do the combat though, dont think it can be done w/o some combat scripts or on a heartbeat

    effect evfx = EffectVisualEffect(VFX_DUR_ETHEREAL_VISAGE);
    effect evfx2 = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
    effect edr = EffectDamageReduction(20, DAMAGE_POWER_PLUS_THREE);
    effect esabs = EffectSpellLevelAbsorption(2);
    effect econc = EffectConcealment(25);

    effect elnk = EffectLinkEffects(econc, evfx);
    elnk = EffectLinkEffects(elnk, evfx2);
    elnk = EffectLinkEffects(elnk, esabs);
    elnk = EffectLinkEffects(elnk, edr);

    ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, OBJECT_SELF);


#3
NineHells

NineHells
  • Members
  • 10 messages
Thank you Pearls!
I'll try this out.