LevinLozenges: Death Spark deals damage to any caster, not just to player

This commit is contained in:
Eddoursul 2026-01-18 20:47:41 +01:00
parent 7778c90c55
commit 6917fd712c
3 changed files with 4 additions and 7 deletions

View File

@ -16,10 +16,11 @@ Lirk:
- Fixed normals in agnodwall.nif. - Fixed normals in agnodwall.nif.
LevinLozenges: LevinLozenges:
- Death Spark deals damage to any caster, not just to player.
- Fixed the apparition stats menu using Skyrim skill names. - Fixed the apparition stats menu using Skyrim skill names.
Hortophyll: Hortophyll:
- Fixed image space adapters causing black screen with CS weather mods. - Fixed image space adapters causing black screen with Community Shaders weather mods.
2.1.4 (2025-08-31) 2.1.4 (2025-08-31)

View File

@ -8,8 +8,6 @@ Import Math
Event OnEffectStart(Actor akTarget, Actor akCaster) Event OnEffectStart(Actor akTarget, Actor akCaster)
if akCaster == PlayerREF
; Use flat caster damage without SKSE ; Use flat caster damage without SKSE
float fMagnitude = 20 float fMagnitude = 20
@ -18,11 +16,9 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
endif endif
akCaster.DamageActorValue("Health", fMagnitude / EldritchDamageDivider.GetValue()) akCaster.DamageActorValue("Health", fMagnitude / EldritchDamageDivider.GetValue())
ParalyzeFxShader.Play(PlayerREF) ParalyzeFxShader.Play(akCaster)
Utility.Wait(0.5) Utility.Wait(0.5)
ParalyzeFxShader.Stop(PlayerREF) ParalyzeFxShader.Stop(akCaster)
EndIf
EndEvent EndEvent