enderalse/source/scripts/_00e_addingperk.psc

18 lines
349 B
Plaintext

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