enderalse/scripts/source/_00e_arkanistenfieberblitzheilungscn.psc

28 lines
891 B
Plaintext
Raw Normal View History

Scriptname _00E_ArkanistenfieberBlitzheilungSCN extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
If akCaster == PlayerREF || akTarget == PlayerREF
fMagnitude = Self.GetMagnitude()
If PlayerREF.HasPerK(_00E_Class_Thaumaturge_P07_MentalExpert)
fMagnitude = fMagnitude*0.67
EndIf
PlayerREF.ModAV("lastFlattered", -fMagnitude)
_00E_Player_sArcaneFeverIncreased.Show(fMagnitude, -1*(PlayerREF.GetAV("LastFlattered")))
If bVisuals
_00E_ArkanistenfieberIMOD.Apply()
EndIf
_00E_FS_IncreaseArcaneFeverM.Play(PlayerREF)
EndIf
EndEvent
float fMagnitude
bool Property bVisuals = true Auto
Actor Property PlayerREF Auto
ImageSpaceModifier Property _00E_ArkanistenfieberIMOD Auto
Sound Property _00E_FS_IncreaseArcaneFeverM Auto
Message Property _00E_Player_sArcaneFeverIncreased Auto
Perk Property _00E_Class_Thaumaturge_P07_MentalExpert Auto