2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_AddingPerk extends activemagiceffect
|
|
|
|
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
|
|
|
|
akTarget.AddPerk(PerkToAdd)
|
|
|
|
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_Debug.PrintMessage("_00E_AddingPerk has perk.")
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
endevent
|
|
|
|
|
|
|
|
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
|
|
|
|
|
|
|
akTarget.RemovePerk(PerkToAdd)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Perk Property PerkToAdd Auto
|