Schema: Fix definition of [effect] tags for removing/modifying attacks
This commit is contained in:
parent
80fb9c01a6
commit
ff66583c0d
1 changed files with 7 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue