Compare commits

..

No commits in common. "e61694bc003523e178c45b6e427558e0fc8a9540" and "323a6dfe061da5dd8acfb1b1943b68984ce6dc29" have entirely different histories.

8 changed files with 12 additions and 16 deletions

Binary file not shown.

View File

@ -6,12 +6,6 @@ See https://en.wiki.sureai.net/Enderal:Patch for the list of official patches up
Beware, spoilers ahead! Beware, spoilers ahead!
2.1.3 (TBD)
- Fixed package of an NPC in the main cavern of the Undercity sometimes causing a crash.
- Fixed the Chymicum Vitality health bonus remaining active after the effect's expiration.
- Reduced damage dealt by lower level wisps from x5 to x3.5.
2.1.2 (2024-08-01) 2.1.2 (2024-08-01)
- Entropic Blood fixes: - Entropic Blood fixes:
-- Controlled actor no longer remains hostile to player. -- Controlled actor no longer remains hostile to player.

View File

@ -1 +1 @@
version = 2.1.3 version = 2.1.2

Binary file not shown.

Binary file not shown.

View File

@ -11,7 +11,7 @@ float function _GetVersionFull() global
; C - backward-compatible update ; C - backward-compatible update
; D - hotfix ; D - hotfix
; E - build ; E - build
return 2130.0 return 2120.0
endfunction endfunction
int function GetVersion() global int function GetVersion() global

View File

@ -152,7 +152,11 @@ Function TransformBack()
;MagicEffect _00E_FS_Affinity_ScourgeOfTheWilds_TitanME = Game.GetFormFromFile(0x0102F19F, "Enderal - Forgotten Stories.esm") as MagicEffect ;MagicEffect _00E_FS_Affinity_ScourgeOfTheWilds_TitanME = Game.GetFormFromFile(0x0102F19F, "Enderal - Forgotten Stories.esm") as MagicEffect
Actor PlayerREF = Game.GetForm(0x14) as Actor Actor PlayerREF = self.getActorReference()
if ! PlayerREF
PlayerREF = Game.GetForm(0x14) as Actor
endif
If PlayerREF.dispelSpell(_00E_FS_Affinity_ScourgeOfTheWilds_TitanSP) If PlayerREF.dispelSpell(_00E_FS_Affinity_ScourgeOfTheWilds_TitanSP)
while PlayerREF.getscale() > fPlayerScale while PlayerREF.getscale() > fPlayerScale
@ -175,10 +179,9 @@ Function OnWolfFormSpellEnd()
self.clear() self.clear()
wolf.removeSpell(_00E_Theriantrophist_DetectLifeBaseSP) wolf.removeSpell(_00E_Theriantrophist_DetectLifeBaseSP)
wolf.removeItem(_00E_Theriantrophist_Claws, 100, abSilent = true) wolf.removeItem(_00E_Theriantrophist_Claws, 100, abSilent = true)
; Dispel chymicum effects before all other effects to properly restore values
_DispelAllChymikums()
WolfAttributes.SetInWolfForm(false) WolfAttributes.SetInWolfForm(false)
EquipementStorage.equipeItems() EquipementStorage.equipeItems()
_DispelAllChymikums()
EndFunction EndFunction
Function TransformBackIfTransformed() Function TransformBackIfTransformed()
@ -188,7 +191,7 @@ Function TransformBackIfTransformed()
Endfunction Endfunction
Bool Function IsTransformed() Bool Function IsTransformed()
return _00E_Theriantrophist_IsTransformed.GetValueInt() == 1 return self.getActorReference() != None
Endfunction Endfunction
Function _TeachTransformBackTalent() Function _TeachTransformBackTalent()
@ -416,7 +419,7 @@ Function _FixNotTransformedPlayerSkin()
return return
endif endif
Actor player = Game.GetForm(0x14) as Actor Actor player = GetReference() as Actor
if player && ! player.IsOnMount() && ! player.IsSwimming() if player && ! player.IsOnMount() && ! player.IsSwimming()
player.getActorBase().SetSkin(player.GetRace().GetSkin()) player.getActorBase().SetSkin(player.GetRace().GetSkin())
@ -450,13 +453,12 @@ Endfunction
State Transfomed State Transfomed
Event OnBeginState() Event OnBeginState()
_00E_Theriantrophist_IsTransformed.setValue(1)
_UpdateChymikumTransformed() _UpdateChymikumTransformed()
RegisterForControl("Sneak") RegisterForControl("Sneak")
SendModEvent("Theriantrophist_Transformed") SendModEvent("Theriantrophist_Transformed")
Sneaking = false Sneaking = false
AddInventoryEventFilter(_00E_Theriantrophist_Claws) AddInventoryEventFilter(_00E_Theriantrophist_Claws)
; Change _00E_Theriantrophist_IsTransformed after applying chymicum effects in order to properly restire values
_00E_Theriantrophist_IsTransformed.setValue(1)
Endevent Endevent
Event OnEndState() Event OnEndState()
@ -466,7 +468,7 @@ State Transfomed
Sneaking = false Sneaking = false
ControlQuest.GetAffinityControl().OnSneak(false) ControlQuest.GetAffinityControl().OnSneak(false)
Endif Endif
_DispelAllChymikums() _UpdateChymikumTransformedBack()
_00E_Theriantrophist_IsTransformed.setValue(0) _00E_Theriantrophist_IsTransformed.setValue(0)
SendModEvent("Theriantrophist_TransformedBack") SendModEvent("Theriantrophist_TransformedBack")
UnRegisterForControl("Sneak") UnRegisterForControl("Sneak")