enderalse/source/scripts/_00e_slowselfmesc.psc
Eddoursul 6f96053d76 Entropic Blood fixes:
- Controlled actor no longer remains hostile to player.
- Fixed floating in the air after save reload or player's death, occurred during victim selection or ghostwalking.
- Unmarking attacking actor unmarks its target as well.
2024-07-30 17:35:20 +02:00

20 lines
524 B
Plaintext

Scriptname _00E_SlowSelfMESC extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
_00E_PlayerFunctions.GetVisionControl().UpdateSpeed(akTarget)
Game.ForceFirstPerson()
Utility.SetINIFloat("fInAirFallingCharGravityMult:Havok", 0.1)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
_00E_PlayerFunctions.GetVisionControl().UpdateSpeed(akTarget)
; Also restored on game load in _00E_PlayerFunctions
Utility.SetINIFloat("fInAirFallingCharGravityMult:Havok", 1.35)
EndEvent