Skip to content

Commit

Permalink
Shorter syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardianDll authored Sep 9, 2024
1 parent 088956b commit ec2bd9e
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions data/mods/Xedra_Evolved/eocs/give_a_class_eoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,17 @@
"id": "EOC_XE_ALLOW_MAGIC_SEQUENCE",
"recurrence": [ "1 d", "3 d" ],
"condition": {
"and": [
{
"and": [
{
"and": [
{
"and": [
{ "or": [ { "not": { "u_has_trait": "EATER" } }, { "not": { "u_has_trait": "DREAMER" } } ] }
]
},
{
"and": [
{ "or": [ { "not": { "u_has_trait": "INVENTOR" } }, { "not": { "u_has_trait": "DREAMSMITH" } } ] }
]
}
]
},
{ "math": [ "magic_potential", ">", "0" ] }
]
},
{ "not": { "u_has_trait": "DREAMLESS" } }
]
}
"and": [
{
"and": [
{ "math": [ "u_has_trait('EATER') + u_has_trait('DREAMER') == 0" ] },
{ "math": [ "u_has_trait('INVENTOR') + u_has_trait('DREAMSMITH') == 0" ] }
]
},
{ "math": [ "magic_potential", ">", "0" ] },
{ "not": { "u_has_trait": "DREAMLESS" } }
]
}
},
{
"type": "effect_on_condition",
Expand Down

0 comments on commit ec2bd9e

Please sign in to comment.