Skip to content

Commit

Permalink
Schema: Fix definition of [effect] tags for removing/modifying attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 31, 2018
1 parent 45b2d01 commit 3f7b159
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions data/schema/units/modifications.cfg
Expand Up @@ -14,9 +14,13 @@
value=new_attack
super="units/unit_type~core/attack"
[/case]
{FILTER_TAG "case" weapon value=remove_attacks}
{FILTER_TAG "case" weapon (
[case]
value=remove_attacks
super="$filter_weapon"
[/case]
[case]
value=attack
super="$filter_weapon"
{SIMPLE_KEY set_name string}
{SIMPLE_KEY set_description t_string}
{SIMPLE_KEY set_type string}
Expand Down Expand Up @@ -44,7 +48,7 @@
super="units/unit_type/attack/specials"
{DEFAULT_KEY mode effect_set_special_mode replace}
[/tag]
)}
[/case]
[case]
value=max_attacks,max_experience
{SIMPLE_KEY increase int_percent}
Expand Down

0 comments on commit 3f7b159

Please sign in to comment.