Update amla.cfg
This commit is contained in:
parent
3950ddf5cd
commit
45e81e8051
1 changed files with 26 additions and 9 deletions
|
@ -36,13 +36,27 @@
|
|||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define USE_STRONGER_AMLAS
|
||||
#arg AMLA_FILTERS
|
||||
side=1#endarg
|
||||
# Include this macro in your [campaign] tag to replace the default +3hp AMLA with more powerful AMLA choices.
|
||||
# All max-level units gain a +8hp AMLA option, and units with 1/2/3+ melee/ranged strikes gain options for +4/+2/+1 melee/ranged damage, respectively.
|
||||
#
|
||||
# The optional AMLA_FILTERS argument can be used to modify which units this macro affects. AMLA_FILTERS defaults to `side=1`.
|
||||
# Include this resource in your [campaign] tag to replace the default +3hp AMLA with more powerful AMLA choices.
|
||||
# All max-level units gain a +8hp AMLA option, and units with 1/2/3+ melee/ranged strikes gain options for +4/+2/+1 melee/ranged damage, respectively.
|
||||
#
|
||||
# The optional `use_stronger_amlas_filter` variable can be used to modify which units this macro affects. `use_stronger_amlas_filter` defaults to `side=1`
|
||||
[resource]
|
||||
id=use_stronger_amlas
|
||||
|
||||
#############################
|
||||
# INITIALIZE AMLA FILTER
|
||||
#############################
|
||||
[event]
|
||||
name=prestart
|
||||
[filter_condition]
|
||||
{VARIABLE_CONDITIONAL use_stronger_amlas_filter equals $null}
|
||||
[/filter_condition]
|
||||
[set_variable]
|
||||
name=use_stronger_amlas_filter.side
|
||||
value=1
|
||||
[/set_variable]
|
||||
[/event]
|
||||
|
||||
#############################
|
||||
# EXPLAIN AMLAS
|
||||
#############################
|
||||
|
@ -65,8 +79,11 @@ side=1#endarg
|
|||
[event]
|
||||
name=pre advance
|
||||
first_time_only=no
|
||||
[insert_tag]
|
||||
name=filter
|
||||
variable=use_stronger_amlas_filter
|
||||
[/insert_tag]
|
||||
[filter]
|
||||
{AMLA_FILTERS}
|
||||
[not]
|
||||
id=$amla_currently_advancing_id
|
||||
[/not]
|
||||
|
@ -297,4 +314,4 @@ side=1#endarg
|
|||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
#enddef
|
||||
[/resource]
|
||||
|
|
Loading…
Add table
Reference in a new issue