Disable potion return in _00E_Theriantrophist_TransformSC in non-SKSE mode
This commit is contained in:
parent
10483ecf9b
commit
ebba0413d0
Binary file not shown.
@ -26,12 +26,16 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
Endif
|
||||
_00E_Theriantrophist_PlayerAsWerewolf playerWhileTransformedAlias = controlQuest.playerWhileTransformed
|
||||
|
||||
|
||||
if _00E_FS_Theriantrophist_AllowTemporaryTransform.GetValueInt() == 0
|
||||
|
||||
if !playerWhileTransformedAlias.CanBeTransformed(akTarget.getCurrentLocation())
|
||||
Debug.Notification(_00E_Theriantrophist_ForceTransformBackMessage.getName())
|
||||
_RestorePotion()
|
||||
if EnderalLib.IsDLLLoaded()
|
||||
Debug.Notification(_00E_Theriantrophist_ForceTransformBackMessage.getName())
|
||||
_RestorePotion()
|
||||
else
|
||||
; TODO: Replace the string with a localizable message.
|
||||
Debug.Notification("You cannot transform here.")
|
||||
endif
|
||||
self.dispel()
|
||||
return
|
||||
Endif
|
||||
|
Loading…
Reference in New Issue
Block a user