21 lines
530 B
Plaintext
21 lines
530 B
Plaintext
|
Scriptname _00E_Affinity_DarkKeeperBoost extends activemagiceffect
|
||
|
|
||
|
|
||
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||
|
|
||
|
iLoopSound = UIHealthHeartbeatBLPMono.Play(PlayerREF)
|
||
|
akCaster.AddPerk(_00E_Affinity_AbDarkKeeperPerk)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
||
|
|
||
|
Sound.StopInstance(iLoopSound)
|
||
|
akCaster.RemovePerk(_00E_Affinity_AbDarkKeeperPerk)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
int iLoopSound
|
||
|
Actor Property PlayerREF Auto
|
||
|
Perk Property _00E_Affinity_AbDarkKeeperPerk Auto
|
||
|
Sound Property UIHealthHeartbeatBLPMono Auto
|