Opcode 324 -> 318 in kreso_eestatsr.tph. #148
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixing the crash in the poison room of the Watcher's Keep by implementing the solution in This thread.
Acknowledgments to the thread participants, in particular to Person that proposed this solution.
The solution is to simply swap the opcode 324 by 318 as there seem to be some weird interaction with printing messages for display. The reason I want the solution to cook longer is that IESDP has a note on the 324 opcode saying:
"When displaying its feedback message, it will attempt to identify the name of the parent spell if this effect is located in a child spell with no name. It does in the following manner: if the effect is used within a spell that has no name but there is a spell in the game whose resname is one character shorter with a valid name, then it will display that name. This feature is used by Sunfire ("SPWI523D.spl") in IWD:EE to check for thief evasion."
I have done blanket replacement for now, but it is unclear from the note if this has any actual gameplay functionality (the "check for thief evasion") or if it just has to do with displaying messages as per the opening "When displaying its feedback message".