Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Spells That Wrongly Break Sanctuary

Does anyone have a list of the spells that wrongly break Sanctuary?

I'm trying to add a patch for those on DoF's next release.

Thanks.

Skatan

Comments

  • The user and all related content has been deleted.

  • RaduzielRaduziel Member Posts: 4,716
    How?

    Unflagging the "Break Sanctuary" flag.

  • [Deleted User][Deleted User] Posts: 0
    edited February 2019
    The user and all related content has been deleted.

  • RaduzielRaduziel Member Posts: 4,716
    edited February 2019
    Ooooo... is that new?

    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
    

    Post edited by Raduziel on
  • RaduzielRaduziel Member Posts: 4,716
    @subtledoctor

    Here's my first list (some spells will be removed, it is just a first peek):
    //Fix for Sanctuary
    
    PATCH_FOR_EACH label IN
    	~CLERIC_BLESS~
    	~CLERIC_CURE_LIGHT_WOUNDS~
    	~CLERIC_DETECT_EVIL~
    	~CLERIC_PROTECT_FROM_EVIL~
    	~CLERIC_REMOVE_FEAR~
    	~CLERIC_ARMOR_OF_FAITH~
    	~CLERIC_SPIRIT_WARD~
    	~CLERIC_PROTECT_FROM_GOOD~
    	~CLERIC_AID~
    	~CLERIC_BARKSKIN~
    	~CLERIC_FIND_TRAPS~
    	~CLERIC_GOOD_BERRIES~
    	~CLERIC_KNOW_ALIGNMENT~
    	~CLERIC_RESIST_FIRE~
    	~CLERIC_SLOW_POISON~
    	~CLERIC_DRAW_UPON_HOLY_MIGHT~
    	~CLERIC_GOODBERRY~
    	~CLERIC_RESIST_FIRE_AND_COLD~
    	~CLERIC_CURE_MODERATE_WOUNDS~
    	~CLERIC_PROTECTION_FROM_FIRE~
    	~CLERIC_REMOVE_CURSE~
    	~CLERIC_REMOVE_PARALYSIS~
    	~CLERIC_INVISIBILITY_PURGE~
    	~CLERIC_STRENGTH_OF_ONE~
    	~CLERIC_CURE_MEDIUM_WOUNDS~
    	~CLERIC_CURE_DISEASE~
    	~CLERIC_ZONE_OF_SWEET_AIR~
    	~CLERIC_EXALTATION~
    	~CLERIC_STORM_SHELL~
    	~CLERIC_FAVOR_OF_ILMATER~
    	~CLERIC_SPIRITUAL_CLARITY~
    	~CLERIC_CURE_SERIOUS_WOUNDS~
    	~CLERIC_FREE_ACTION~
    	~CLERIC_NEUTRALIZE_POISON~
    	~CLERIC_DEFENSIVE_HARMONY~
    	~CLERIC_PROTECTION_FROM_LIGHTNING~
    	~CLERIC_PROTECTION_FROM_EVIL_10_FOOT~
    	~CLERIC_DEATH_WARD~
    	~CLERIC_HOLY_POWER~
    	~CLERIC_NEGATIVE_PLANE_PROTECTION~
    	~CLERIC_FAR_SIGHT~
    	~CLERIC_LESSER_RESTORATION~
    	~CLERIC_UNFAILING_ENDURANCE~
    	~CLERIC_CURE_CRITICAL_WOUNDS~
    	~CLERIC_RAISE_DEAD~
    	~CLERIC_TRUE_SIGHT~
    	~CLERIC_IRONSKIN~
    	~CLERIC_CHAMPIONS_STRENGTH~
    	~CLERIC_CHAOTIC_COMMANDS~
    	~CLERIC_MAGIC_RESISTANCE~
    	~CLERIC_RIGHTEOUS_MAGIC~
    	~CLERIC_MASS_CURE~
    	~CLERIC_REPULSE_UNDEAD~
    	~CLERIC_PIXIE_DUST~
    	~CLERIC_SHIELD_OF_LATHANDER~
    	~CLERIC_UNDEAD_WARD~
    	~CLERIC_RECALL_SPIRIT~
    	~CLERIC_HEAL~
    	~CLERIC_WONDROUS_RECALL~
    	~CLERIC_PHYSICAL_MIRROR~
    	~CLERIC_ENTROPY_SHIELD~
    	~CLERIC_SHIELD_OF_THE_ARCHONS~
    	~CLERIC_REGENERATE~
    	~CLERIC_RESURRECTION~
    	~CLERIC_RESTORATION~
    	~CLERIC_MASS_RAISE_DEAD~
    	~CLERIC_IMPERVIOUS_SANCTITY_OF_MIND~
    	~CLERIC_GREATER_SHIELD_OF_LATHANDER~
    	~CLERIC_MIST_OF_ELDATH~
    	~WIZARD_ARMOR~
    	~WIZARD_FRIENDS~
    	~WIZARD_IDENTIFY~
    	~WIZARD_INFRAVISION~
    	~WIZARD_PROTECTION_FROM_EVIL~
    	~WIZARD_SHIELD~
    	~WIZARD_REFLECT_IMAGE~
    	~WIZARD_EXPEDITIOUS_RETREAT~
    	~WIZARD_BLUR~
    	~WIZARD_DETECT_EVIL~
    	~WIZARD_DETECT_INVISIBILITY~
    	~WIZARD_INVISIBILITY~
    	~WIZARD_KNOCK~
    	~WIZARD_KNOW_ALIGNMENT~
    	~WIZARD_LUCK~
    	~WIZARD_RESIST_FEAR~
    	~WIZARD_MIRROR_IMAGE~
    	~WIZARD_STRENGTH~
    	~WIZARD_VOCALIZE~
    	~WIZARD_CHAOS_SHIELD~
    	~WIZARD_CATS_GRACE~
    	~WIZARD_PROTECTION_FROM_PETRIFICATION~
    	~WIZARD_CLAIRVOYANCE~
    	~WIZARD_INVISIBILITY_10_FOOT~
    	~WIZARD_NON_DETECTION~
    	~WIZARD_PROTECTION_FROM_NORMAL_MISSILES~
    	~WIZARD_WRAITH_FORM~
    	~WIZARD_GHOST_ARMOR~
    	~WIZARD_MINOR_SPELL_DEFLECTION~
    	~WIZARD_PROTECTION_FROM_FIRE~
    	~WIZARD_PROTECTION_FROM_COLD~
    	~WIZARD_DETECT_ILLUSION~
    	~WIZARD_DIMENSION_DOOR~
    	~WIZARD_FIRE_SHIELD_BLUE~
    	~WIZARD_IMPROVED_INVISIBILITY~
    	~WIZARD_MINOR_GLOBE_OF_INVULNERABILITY~
    	~WIZARD_STONE_SKIN~
    	~WIZARD_REMOVE_CURSE~
    	~WIZARD_SPIRIT_ARMOR~
    	~WIZARD_FIRE_SHIELD_RED~
    	~WIZARD_MINOR_SEQUENCER~
    	~WIZARD_TELEPORT_FIELD~
    	~WIZARD_FAR_SIGHT~
    	~WIZARD_EYE~
    	~WIZARD_EMOTION_HOPE~
    	~WIZARD_EMOTION_COURAGE~
    	~WIZARD_SHADOW_DOOR~
    	~WIZARD_SPELL_IMMUNITY~
    	~WIZARD_PROTECTION_FROM_NORMAL_WEAPONS~
    	~WIZARD_PROTECTION_FROM_ELECTRICITY~
    	~WIZARD_ORACLE~
    	~WIZARD_PROTECTION_FROM_ACID~
    	~WIZARD_SPELL_SHIELD~
    	~WIZARD_MINOR_SPELL_TURNING~
    	~WIZARD_CONTACT_OTHER_PLANE~
    	~WIZARD_GLOBE_OF_INVULNERABILITY~
    	~WIZARD_PROTECTION_FROM_MAGIC_ENERGY~
    	~WIZARD_MISLEAD~
    	~WIZARD_TRUE_SIGHT~
    	~WIZARD_PROTECTION_FROM_MAGIC_WEAPONS~
    	~WIZARD_IMPROVED_HASTE~
    	~WIZARD_CONTINGENCY~
    	~WIZARD_SPELL_DEFLECTION~
    	~WIZARD_STONE_TO_FLESH~
    	~WIZARD_TROLLISH_FORTITUDE~
    	~WIZARD_SPELL_TURNING~
    	~WIZARD_PROTECTION_FROM_THE_ELEMENTS~
    	~WIZARD_PROJECT_IMAGE~
    	~WIZARD_MANTLE~
    	~WIZARD_SPELL_SEQUENCER~
    	~WIZARD_MASS_INVISIBILITY~
    	~WIZARD_LIMITED_WISH~
    	~WIZARD_IMPROVED_CHAOS_SHIELD~
    	~WIZARD_SEVEN_EYES~
    	~WIZARD_MIND_BLANK~
    	~WIZARD_PROTECTION_FROM_ENERGY~
    	~WIZARD_SIMULACRUM~
    	~WIZARD_IMPROVED_MANTLE~
    	~WIZARD_SPELL_TRIGGER~
    	~WIZARD_IRON_BODY~
    	~WIZARD_SPELL_TRAP~
    	~WIZARD_ABSOLUTE_IMMUNITY~
    	~WIZARD_CHAIN_CONTINGENCY~
    	~WIZARD_TIME_STOP~
    	~WIZARD_FREEDOM~
    	~WIZARD_WISH~
    	~WIZARD_IMPROVED_ALACRITY~
    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
    

    Hope it helps.

  • The user and all related content has been deleted.

    Raduziel
  • RaduzielRaduziel Member Posts: 4,716
    edited February 2019
    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.

    Post edited by Raduziel on
  • [Deleted User][Deleted User] Posts: 0
    edited February 2019
    The user and all related content has been deleted.

    Raduziel
Sign In or Register to comment.