Moved conditional into filter_condition
This commit is contained in:
parent
7b6027cdec
commit
6009b9ef14
1 changed files with 18 additions and 22 deletions
|
@ -8,23 +8,21 @@
|
|||
[filter]
|
||||
type_adv_tree=Drake Warrior
|
||||
[/filter]
|
||||
[if]
|
||||
[filter_condition]
|
||||
[not]
|
||||
[have_unit]
|
||||
role=fighter_intendant
|
||||
search_recall_list=yes
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[then]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=$unit.id
|
||||
[/filter]
|
||||
role=fighter_intendant
|
||||
{TRAIT_LOYAL}
|
||||
[/modify_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
[/filter_condition]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=$unit.id
|
||||
[/filter]
|
||||
role=fighter_intendant
|
||||
{TRAIT_LOYAL}
|
||||
[/modify_unit]
|
||||
[/event]
|
||||
[event]
|
||||
name=recall
|
||||
|
@ -32,23 +30,21 @@
|
|||
[filter]
|
||||
type_adv_tree=Drake Arbiter, Drake Thrasher
|
||||
[/filter]
|
||||
[if]
|
||||
[filter_condition]
|
||||
[not]
|
||||
[have_unit]
|
||||
role=clasher_intendant
|
||||
search_recall_list=yes
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[then]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=$unit.id
|
||||
[/filter]
|
||||
role=clasher_intendant
|
||||
{TRAIT_LOYAL}
|
||||
[/modify_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
[/filter_condition]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=$unit.id
|
||||
[/filter]
|
||||
role=clasher_intendant
|
||||
{TRAIT_LOYAL}
|
||||
[/modify_unit]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue