28 lines
891 B
Plaintext
28 lines
891 B
Plaintext
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 |