enderalse/source/scripts/_00e_arkanistenfieberwohltatscn.psc

32 lines
774 B
Plaintext
Raw Normal View History

Scriptname _00E_ArkanistenfieberWohltatSCN extends activemagiceffect
2024-02-11 19:27:09 +00:00
Event OnEffectStart(Actor akTarget, Actor akCaster)
2024-02-11 19:27:09 +00:00
If akTarget == Game.GetForm(0x14)
akPlayer = akTarget
2023-12-08 02:45:53 +00:00
fOldAV = -1*(akPlayer.GetActorValue("LastFlattered"))
Else
akPlayer = None
EndIf
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
If akPlayer
2023-12-08 02:45:53 +00:00
fNewAV = -1*(akPlayer.GetActorValue("LastFlattered"))
_00E_Player_sArcaneFeverIncreased.Show(fNewAV-fOldAV, fNewAV)
_00E_ArkanistenfieberIMOD.Apply()
_00E_FS_IncreaseArcaneFeverM.Play(akPlayer)
EndIf
EndEvent
float fOldAV
float fNewAV
Actor akPlayer
ImageSpaceModifier Property _00E_ArkanistenfieberIMOD Auto
Sound Property _00E_FS_IncreaseArcaneFeverM Auto
2024-02-11 19:27:09 +00:00
Message Property _00E_Player_sArcaneFeverIncreased Auto