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