-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MoM/Magiclysm interaction] Synchronize anti-Stare powers, Thought Sh…
…ield spell protects from telepathy (#77277) * Create miscellaneous.json * Create flags.json * Acount for TEEPSHIELD * Create eoc_misc.json * Add MAGICAL_MIND_PROTECTION to thought shield * Add mind protection to thought shields * TEEPSHIELD effect * Update data/mods/MindOverMatter/mod_interactions/magiclysm/item_overrides.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fixes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f08c753
commit bc43970
Showing
8 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
data/mods/Magiclysm/effect_on_conditions/miscellaneous.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_STARE", | ||
"condition": { "or": [ { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" }, { "npc_has_flag": "DIMENSIONAL_ANCHOR" } ] }, | ||
"effect": { "u_message": "You feel a strange reverberation across your body.", "type": "warning" }, | ||
"false_effect": { "run_eocs": [ "EOC_STARE1" ] } | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_STARE1", | ||
"condition": { "u_has_worn_with_flag": "MAGICAL_MIND_PROTECTION" }, | ||
"effect": { "u_message": "You sense <npc_name> trying to enter your mind, but your magic protects you!", "type": "warning" }, | ||
"false_effect": { "run_eocs": [ "EOC_STARE2" ] } | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{ | ||
"id": "MAGICAL_MIND_PROTECTION", | ||
"type": "json_flag", | ||
"info": "Your magic protects your mind against assault." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
data/mods/MindOverMatter/mod_interactions/magiclysm/effects.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
{ | ||
"type": "effect_type", | ||
"id": "effect_item_mind_protection", | ||
"//": "Hidden effect, used as an item buff", | ||
"name": [ "" ], | ||
"desc": [ "" ], | ||
"rating": "good", | ||
"flags": [ "TEEPSHIELD" ] | ||
} | ||
] |
16 changes: 16 additions & 0 deletions
16
data/mods/MindOverMatter/mod_interactions/magiclysm/eoc_misc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_STARE1", | ||
"condition": { "u_has_worn_with_flag": "MAGICAL_MIND_PROTECTION" }, | ||
"effect": { "u_message": "You sense <npc_name> trying to enter your mind, but your magic protects you!", "type": "warning" }, | ||
"false_effect": { "run_eocs": [ "EOC_STARE1_5" ] } | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_STARE1_5", | ||
"condition": { "or": [ { "u_has_effect": "effect_telepathic_psi_armor" }, { "u_has_flag": "TEEPSHIELD" } ] }, | ||
"effect": { "u_message": "You sense <npc_name> trying to enter your mind, but you repel it!", "type": "warning" }, | ||
"false_effect": { "run_eocs": [ "EOC_STARE2" ] } | ||
} | ||
] |
32 changes: 32 additions & 0 deletions
32
data/mods/MindOverMatter/mod_interactions/magiclysm/item_overrides.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"id": "thought_shield_item", | ||
"name": { "str_sp": "thought shields" }, | ||
"type": "TOOL_ARMOR", | ||
"copy-from": "thought_shield_item", | ||
"relic_data": { | ||
"passive_effects": [ | ||
{ | ||
"has": "WORN", | ||
"condition": "ALWAYS", | ||
"ench_effects": [ { "effect": "effect_item_mind_protection", "intensity": 1 } ] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "thought_shield_plus_item", | ||
"name": { "str_sp": "thought suit" }, | ||
"type": "TOOL_ARMOR", | ||
"copy-from": "thought_shield_plus_item", | ||
"relic_data": { | ||
"passive_effects": [ | ||
{ | ||
"has": "WORN", | ||
"condition": "ALWAYS", | ||
"ench_effects": [ { "effect": "effect_item_mind_protection", "intensity": 1 } ] | ||
} | ||
] | ||
} | ||
} | ||
] |