Skip to content

Commit

Permalink
simplify damage check
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardianDll authored Aug 7, 2024
1 parent 6362ffc commit 5688cc2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions data/json/monster_special_attacks/spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,7 @@
{
"type": "effect_on_condition",
"id": "EOC_random_mutate",
"condition": {
"and": [
{ "or": [ { "math": [ "_proj_damage", ">", "0" ] }, { "math": [ "_damage", ">", "0" ] } ] },
"npc_is_npc",
"has_beta"
]
},
"condition": { "and": [ { "math": [ "_proj_damage + _damage > 0" ] }, "npc_is_npc", "has_beta" ] },
"effect": [
{ "set_string_var": "<random_category>", "target_var": { "context_val": "dart_mutation_category" }, "parse_tags": true },
{ "npc_mutate_category": { "context_val": "dart_mutation_category" }, "use_vitamins": false }
Expand Down

0 comments on commit 5688cc2

Please sign in to comment.