Schema: Fix definition of [effect] tags for removing/modifying attacks

This commit is contained in:
Celtic Minstrel 2018-03-28 23:00:33 -04:00
parent 80fb9c01a6
commit ff66583c0d

View file

@ -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}
@ -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}