37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
|
Scriptname _00E_FS_NQR05_PerversionSC extends Actor
|
||
|
|
||
|
Event OnInit()
|
||
|
|
||
|
Self.SetAV("UnarmedDamage", 35)
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnEnterBleedout()
|
||
|
|
||
|
_00E_FS_NPC_PerversionDeathM.Play(Self)
|
||
|
_00E_HighOnesDisintegrate.Play(Self)
|
||
|
Utility.Wait(2)
|
||
|
AbsorbRedImod.Apply()
|
||
|
Self.PlaceAtMe(_00E_FS_NQR05_BloodGeysir)
|
||
|
Self.PlaceAtMe(_00E_FS_NQR05_PerversionExp)
|
||
|
;Self.SetCriticalStage(Self.CritStage_DisintegrateStart)
|
||
|
Self.AttachAshPile(_00E_CorpseExplosionPile_Remains)
|
||
|
Self.GetActorBase().SetEssential(false)
|
||
|
Self.Kill(None)
|
||
|
Self.GetActorBase().SetEssential(true)
|
||
|
;Self.SetCriticalStage(Self.CritStage_DisintegrateEnd)
|
||
|
Self.SetAlpha (0.0,True)
|
||
|
If (Game.GetPlayer() as _00E_EPUpdateFunctions).receiveEP(RewardExp)
|
||
|
; Player receives EXP
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Explosion Property _00E_FS_NQR05_PerversionExp Auto
|
||
|
Explosion Property ExplosionIllusionDarkSmallNoEffects Auto
|
||
|
Explosion Property _00E_FS_NQR05_BloodGeysir Auto
|
||
|
Sound Property _00E_FS_NPC_PerversionDeathM Auto
|
||
|
ImageSpaceModifier Property AbsorbRedImod Auto
|
||
|
EffectShader Property _00E_HighOnesDisintegrate Auto
|
||
|
Activator Property _00E_CorpseExplosionPile_Remains Auto
|
||
|
int Property RewardExp Auto
|