From 2ca2a47a24d842463960c1d75ca001f439a3a77d Mon Sep 17 00:00:00 2001 From: hat071af Date: Fri, 21 Jun 2024 18:59:02 -0700 Subject: [PATCH 1/3] Update base-spells.yaml - added anti-magic room checks for invoke/charge Added matches for when invoking or charging cambrinth fails due to wild magic anti-magic room --- data/base-spells.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/base-spells.yaml b/data/base-spells.yaml index b7dd0db984..29a511d5bf 100644 --- a/data/base-spells.yaml +++ b/data/base-spells.yaml @@ -10,6 +10,7 @@ charge_messages: - You fail to channel - you find it too clumsy to charge - How much do you want to charge +- Something in the area is interfering with your magical senses. invoke_messages: - Images of streaking stars falling from the heavens flash @@ -31,6 +32,7 @@ invoke_messages: - you find it too clumsy to invoke - You raise the (\w+) up, and a (\w+) glow surrounds it - You prick your finger with the tip of your athame +- Something in the area is interfering with the magical device. prep_messages: - With rigid movements you prepare your body for the Embed the Cycle spell From c005c7b4c9c8b75d7e3add8faf19be59345a4814 Mon Sep 17 00:00:00 2001 From: hat071af Date: Fri, 21 Jun 2024 19:50:38 -0700 Subject: [PATCH 2/3] Update base-spells.yaml - adding in check for invoke tattoo in anti-magic room Added match for when invoking a tattoo in a wild magic anti-magic room fails --- data/base-spells.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/base-spells.yaml b/data/base-spells.yaml index 29a511d5bf..5cdc736116 100644 --- a/data/base-spells.yaml +++ b/data/base-spells.yaml @@ -144,6 +144,8 @@ prep_messages: - Please don't do that here - You cannot use the tattoo while maintaining the effort to stay hidden - As you attempt to prepare the spell, a sense of overwhelming peace washes over you +# Tattoo failed to invoke due to anti-magic room +- Something in the area is interfering with the magical device. # You tried to target a spell but there is nothing left to face - There is nothing else to face From 388c286603bb83df4ee0990983a3a6228897042a Mon Sep 17 00:00:00 2001 From: hat071af Date: Fri, 21 Jun 2024 19:52:59 -0700 Subject: [PATCH 3/3] Update combat-trainer.lic - added check for when perc fails in anti-magic room Added a match for when the perc command fails in a wild magic anti-magic room --- combat-trainer.lic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combat-trainer.lic b/combat-trainer.lic index 1f0456af6e..8b6edaa0d9 100644 --- a/combat-trainer.lic +++ b/combat-trainer.lic @@ -2784,7 +2784,7 @@ class TrainerProcess when /^PercMana$/i moon_mage_perc(game_state) when /^Perc$/i - DRC.bput('perc', 'You reach out', 'Strangely, you can sense absolutely nothing.') unless game_state.retreating? + DRC.bput('perc', 'You reach out', 'Strangely, you can sense absolutely nothing.', 'Something in the area is interfering with your ability to perceive power.') unless game_state.retreating? when /^Perc Health$/i DRC.bput('perc heal', 'You close your eyes') when /^Astro$/i