Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
530 B
21 lines
530 B
3 years ago
|
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
|