Skip to content

Commit

Permalink
Merge pull request CleverRaven#78319 from Standing-Storm/fix-in-the-zone
Browse files Browse the repository at this point in the history
[MoM] Fix In the Zone perk
  • Loading branch information
Night-Pryanik authored Dec 4, 2024
2 parents 4f4dc70 + 213af23 commit 04cb3d9
Showing 1 changed file with 2 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,7 @@
"required_event": "spellcasting_finish",
"condition": {
"and": [
{
"u_has_any_trait": [ "BIOKINETIC", "CLAIRSENTIENT", "PHOTOKINETIC", "PYROKINETIC", "TELEKINETIC", "TELEPATH", "TELEPORTER", "VITAKINETIC" ]
},
{
"or": [
{ "compare_string": [ "BIOKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "CLAIRSENTIENT", { "context_val": "school" } ] },
{ "compare_string": [ "PHOTOKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "PYROKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "TELEKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "TELEPATH", { "context_val": "school" } ] },
{ "compare_string": [ "TELEPORTER", { "context_val": "school" } ] },
{ "compare_string": [ "VITAKINETIC", { "context_val": "school" } ] }
]
},
{ "test_eoc": "EOC_CONDITION_SPELLCASTING_FINISH_TRAIT_AND_SCHOOL_LIST" },
{ "not": { "u_has_effect": "effect_perk_in_the_zone" } },
{ "u_has_trait": "perk_in_the_zone" }
]
Expand All @@ -55,21 +41,7 @@
"required_event": "spellcasting_finish",
"condition": {
"and": [
{
"u_has_any_trait": [ "BIOKINETIC", "CLAIRSENTIENT", "PHOTOKINETIC", "PYROKINETIC", "TELEKINETIC", "TELEPATH", "TELEPORTER", "VITAKINETIC" ]
},
{
"or": [
{ "compare_string": [ "BIOKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "CLAIRSENTIENT", { "context_val": "school" } ] },
{ "compare_string": [ "PHOTOKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "PYROKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "TELEKINETIC", { "context_val": "school" } ] },
{ "compare_string": [ "TELEPATH", { "context_val": "school" } ] },
{ "compare_string": [ "TELEPORTER", { "context_val": "school" } ] },
{ "compare_string": [ "VITAKINETIC", { "context_val": "school" } ] }
]
},
{ "test_eoc": "EOC_CONDITION_SPELLCASTING_FINISH_TRAIT_AND_SCHOOL_LIST" },
{ "u_has_trait": "perk_in_the_zone" },
{ "not": { "u_has_effect": "effect_perk_in_the_zone_rate_limiter" } },
{ "u_has_effect": "effect_perk_in_the_zone" }
Expand Down

0 comments on commit 04cb3d9

Please sign in to comment.