enderalse/source/scripts/_00e_addingperk.psc

18 lines
335 B
Plaintext

Scriptname _00E_AddingPerk extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.AddPerk(PerkToAdd)
_00E_Debug.PrintMessage("_00E_AddingPerk has perk.")
endevent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
akTarget.RemovePerk(PerkToAdd)
EndEvent
Perk Property PerkToAdd Auto