Compare commits
No commits in common. "9fc782ecf246541437da8dd1790bf8c829ee15ab" and "efa77fb18f2092438cbdff3b73f4d24a80e82612" have entirely different histories.
9fc782ecf2
...
efa77fb18f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
||||
;NEXT FRAGMENT INDEX 1
|
||||
Scriptname PRKF__00E_EssentialBleedoutF_0300146D Extends Perk Hidden
|
||||
|
||||
;BEGIN FRAGMENT Fragment_0
|
||||
Function Fragment_0(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN CODE
|
||||
Debug.SendAnimationEvent(akTargetRef, "bleedOutStop")
|
||||
;END CODE
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
|
||||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
@ -81,7 +81,7 @@ Float Property BalancingStaminaMalusPercent = 75 Autoreadonly Hidden
|
||||
Float Property BoostFactorInfluenceOnArmor = 11 Autoreadonly Hidden
|
||||
{the boost factor multiplied with this value is the wolf armor bonus for balancing purposes}
|
||||
|
||||
_00E_Theriantrophist_TransformSC Property transformEffect Auto
|
||||
|
||||
_00E_Theriantrophist_Chymikum[] RegisteredChymikums
|
||||
bool Sneaking = false
|
||||
|
||||
@ -89,7 +89,7 @@ int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
Function Transform(_00E_Theriantrophist_TransformSC aTransformEffect = None, int duration = 0)
|
||||
Function Transform(int duration = 0)
|
||||
|
||||
bool bWasParalyzed
|
||||
Actor player = self.getActorReference()
|
||||
@ -112,8 +112,6 @@ Function Transform(_00E_Theriantrophist_TransformSC aTransformEffect = None, int
|
||||
|
||||
float preTransformDmgResist = player.GetActorValue("damageResist")
|
||||
|
||||
transformEffect = aTransformEffect
|
||||
|
||||
if duration > 0
|
||||
; Wolf Blood should dispel the wolf form on finish (as of 2.1)
|
||||
; With SKSE, we equalize their duration. The 5 seconds offset serves as a failsafe in case the main effect ends without changing the race.
|
||||
@ -139,11 +137,6 @@ Function Transform(_00E_Theriantrophist_TransformSC aTransformEffect = None, int
|
||||
|
||||
EndFunction
|
||||
|
||||
Function TransformBackByTimer()
|
||||
transformEffect = None
|
||||
TransformBack()
|
||||
endfunction
|
||||
|
||||
Function TransformBack()
|
||||
|
||||
If _00E_FS_Affinity_ScourgeOfTheWilds_TitanSP == None
|
||||
@ -165,12 +158,6 @@ Function TransformBack()
|
||||
EndIf
|
||||
PlayerREF.dispelSpell(_00E_Theriantrophist_WolfFormSP)
|
||||
|
||||
if transformEffect
|
||||
transformEffect.GotoState("ForcedFinish")
|
||||
transformEffect.Dispel()
|
||||
transformEffect = None
|
||||
endif
|
||||
|
||||
Endfunction
|
||||
|
||||
Function OnWolfFormSpellEnd()
|
||||
|
@ -54,7 +54,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
duration = GetDuration() as int
|
||||
endif
|
||||
|
||||
playerWhileTransformedAlias.Transform(self, duration)
|
||||
playerWhileTransformedAlias.Transform(duration)
|
||||
Endif
|
||||
|
||||
If _00E_MC_CaliaREF.GetDistance(Game.GetPlayer()) <= 700
|
||||
@ -65,14 +65,6 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
|
||||
Endevent
|
||||
|
||||
auto state NormalFinish
|
||||
|
||||
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
||||
controlQuest.playerWhileTransformed.TransformBackByTimer()
|
||||
endevent
|
||||
|
||||
endstate
|
||||
|
||||
state ForcedFinish
|
||||
; do nothing
|
||||
endstate
|
||||
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
||||
controlQuest.playerWhileTransformed.TransformBack()
|
||||
endevent
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user