enderalse/source/scripts/_00e_fs_affinity_driftersc.psc

14 lines
704 B
Plaintext

Scriptname _00E_FS_Affinity_DrifterSC extends activemagiceffect
GlobalVariable Property _00E_FS_Theriantrophist_MaxChymikums Auto
Perk Property _00E_Affinity_AbDrifterPerk_BoostChymikumEffectiveness Auto
Event OnEffectStart(Actor akTarget, Actor akCaster)
_00E_FS_Theriantrophist_MaxChymikums.SetValue(_00E_FS_Theriantrophist_MaxChymikums.GetValueInt() + 1)
Game.GetPlayer().AddPerk(_00E_Affinity_AbDrifterPerk_BoostChymikumEffectiveness)
Endevent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
_00E_FS_Theriantrophist_MaxChymikums.SetValue(_00E_FS_Theriantrophist_MaxChymikums.GetValueInt() - 1)
Game.GetPlayer().RemovePerk(_00E_Affinity_AbDrifterPerk_BoostChymikumEffectiveness)
Endevent