Rather than look for individual errors, it might be worth writing up an array with all the spells you think should and/or shouldn't have the flag, and mass-patch them.
I might should do that for my mod that cannibalizes Sanctuary for Invisibility effects...
I don't think it is new... I see this flag in DLTCEP for a long time now. Got Kjeroned below, it is new.
Here's the code I intend to use:
PATCH_FOR_EACH label IN
~LABEL_OF_THE_SPELL1~
~LABEL_OF_THE_SPELL2~
~LABEL_OF_THE_SPELLN~
BEGIN
PATCH_IF FILE_CONTAINS_EVALUATED (~SPELL.IDS~ ~[ %TAB%]%label%[ %TAB%%WNL%%LNL%%MNL%$]~) BEGIN
LPF RES_NUM_OF_SPELL_NAME STR_VAR spell_name = EVAL ~%label%~ RET spell_res END
COPY_EXISTING ~%spell_res%.spl~ override
WRITE_BYTE 0x19 (THIS BAND 253)
BUT_ONLY IF_EXISTS
END
END
It's new, implemented in v2.5 so that Sanctuary could exclude non-self targeted spells that were not offensive, like Bless (a spell which is explicitly mentioned in it's description as being allowed, but previously always ended Sanctuary because it was "target point").
The "hostile" flag, right after it, is the one that has been around forever, and triggers Sanctuary, Invisibility, and at least the "AttackedBy()" script trigger, maybe others as well.
Sanctuary is not invisibility by PnP. You are seeing, just ignored by the enemies (who may Save vs. Spells to resist the effect).
I think that my first cut will remove some buffing spells. Righteous Magic, Draw Upon Holy Might, Holy Power, Strength of One, Champion's Strength. These spells means "I will kick your behind, just wait a sec".
Time Stop follows the same logic as True Sight and Undead Ward/Repulse Undead. Those are not actions against anyone, they affect the area.
- Edit: I think I'll remove Fireshield from this list too. Because having it and not having Blade Barrier makes no sense at all.
Comments
Unflagging the "Break Sanctuary" flag.
I don't think it is new... I see this flag in DLTCEP for a long time now. Got Kjeroned below, it is new.
Here's the code I intend to use:
The "hostile" flag, right after it, is the one that has been around forever, and triggers Sanctuary, Invisibility, and at least the "AttackedBy()" script trigger, maybe others as well.
Here's my first list (some spells will be removed, it is just a first peek):
Hope it helps.
I think that my first cut will remove some buffing spells. Righteous Magic, Draw Upon Holy Might, Holy Power, Strength of One, Champion's Strength. These spells means "I will kick your behind, just wait a sec".
Time Stop follows the same logic as True Sight and Undead Ward/Repulse Undead. Those are not actions against anyone, they affect the area.
- Edit: I think I'll remove Fireshield from this list too. Because having it and not having Blade Barrier makes no sense at all.