Jump to content

[LE] Summons Give Buffs Help


Recommended Posts

So, my idea is that different summoned creatures give the player special effects. For example, summoning a troll familiar would give the caster a buff to health regen. The spell description would read something like:

"Summons a level <60> Troll Familiar for <dur> seconds. While summoned, your health will regenerate faster."

 

The problem is that I don't know how to make that happen. The summoned creature is easy, but I'm not sure how to make it give the player the extra effect.

 

I tried making a cloak spell that would apply the effect and adding it to the actor effects, but the summon would never have the spell active. Anyone have any other ideas I could try?

Edited by GalimeerKandarus
Link to comment
Share on other sites

If you are making custom spells, you can use a simple script on your summon spell's magic effect that casts a health regen spell on the caster. Make the health regen spell the same duration as your summon spell.

 

Scriptname TM_MagicEffectScript extends ActiveMagicEffect 
;Put this script on the summon spell's magic effect. 

Spell Property BuffSpell Auto

Event OnEffectStart(Actor akTarget, Actor akCaster) 
    BuffSpell.Cast(akCaster, akCaster) ;The caster of the summon spell casts the buff spell on themselves.
EndEvent

Name the script something more unique to your mod.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...