[IWDEE] "7eyes.2da" vs. SPL/ITM files #23
Merged
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.
So, this is a nasty one. 7eyes.2da works in the following way:
SPL
files, when a row triggers to block an effect, it will also block all effects of that resource that follow after it, but not any effects that precede it.SPL
files such asWARRIOR_WAR_CRY
(spcl908.spl
) should be recoded to haveop24
listed as the first effect in the stack, otherwiseEYEMIND
will blockop24
but not the precedingop142
effect displaying the Panic icon (and that would be incorrect)ITM
files, when a row triggers to block an effect, it will block just the specified effect of that resource! Those that follow after it, along with those that precede it will not be absorbed.ITM
files such asdart03.itm
(Dart of Stunning) should apply their effects via a subspell.op45
listed as the first effect in the stack (as per the aforementioned reason).Based on vanilla
7eyes.2da
, I checked allSPL
/ITM
files that applyop45
,210
,12
,134
,25
,109
,3
,76
,128
,175
,24
,38
,74
,80
and made sure their effects are properly ordered. I also added auxiliary subspells where needed.Moreover:
MAGIC
damage, as per spell descriptionop318
to grant protection from itself (instead of messyop101
+op267
+op173
effects)GENERAL=UNDEAD || RACE=MYCONID
from!(GENERAL=UNDEAD || RACE=MYCONID)
REMOVE_REDUNDANT_PORTRAIT_ICONS
function. This version:op39
can naturally provide theSleep/Hopelessness/Nauseated/Unconscious
portrait iconsop213
can naturally provide theMaze
portrait iconop74
automatically imposes a-4
penalty toTHAC0
, there's no need for a separateop54
effectop25
automatically provides a feedback string (as perefftext.2da
), there's no need for a separateop139
effectop5
automatically provides a portrait icon, there's no need for a separateop142
effect