dunKarthspirePlatePuzzleSCRIPT sanity checks

This commit is contained in:
Eddoursul 2024-02-21 00:28:01 +01:00
parent df07b65145
commit 8bb7765856
2 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@ auto STATE Active
ELSE ELSE
;USKP 2.0.5 - Bethesda didn't bother to check their bool to see if the trigger being stepped on is safe! ;USKP 2.0.5 - Bethesda didn't bother to check their bool to see if the trigger being stepped on is safe!
IF(!mainScript.plateSolved && !bSafe) IF ( ! mainScript || ! mainScript.plateSolved ) && !bSafe
spellDmg.cast(castSource, triggerRef) if spellDmg && castSource
spellDmg.cast(castSource, triggerRef)
endif
TriggerSound.play(self) TriggerSound.play(self)
ENDIF ENDIF