Skip to content

Commit

Permalink
Schema: Add undocumented features for EffectWML
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent 72d8d30 commit 71da996
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions data/schema/units/modifications.cfg
Expand Up @@ -2,6 +2,7 @@
[tag]
name="base"
{SIMPLE_KEY id string}
{DEFAULT_KEY generate_description bool yes}
[tag]
name="effect"
max=infinite
Expand Down Expand Up @@ -50,25 +51,35 @@
[/tag]
[/case]
[case]
value=max_attacks,max_experience
{SIMPLE_KEY increase int_percent}
[/case]
[case]
value=movement,vision,jamming,experience,recall_cost
value=movement,vision,jamming,experience,max_experience,recall_cost
{SIMPLE_KEY increase int_percent}
{SIMPLE_KEY set int}
[/case]
[case]
value=hitpoints
{SIMPLE_KEY increase int_percent}
{SIMPLE_KEY set int}
{DEFAULT_KEY heal_full bool yes}
{SIMPLE_KEY increase_total int_percent}
{SIMPLE_KEY set_total int}
{DEFAULT_KEY violate_maximum bool no}
[/case]
[case]
value=max_attacks
{SIMPLE_KEY increase int_percent}
[/case]
[case]
value=loyal
# Nothing allowed here
[/case]
[case]
value=fearless
# Nothing allowed here
[/case]
[case]
value=healthy
# Nothing allowed here
[/case]
[case]
value=movement_costs
{SIMPLE_KEY replace bool}
Expand Down Expand Up @@ -105,8 +116,13 @@
[/link]
[/case]
[case]
value=variation,type
value=variation
{SIMPLE_KEY name string}
[/case]
[case]
value=type
{SIMPLE_KEY name string}
{SIMPLE_KEY heal_full bool}
[/case]
[case]
value=status
Expand All @@ -131,6 +147,7 @@
[/case]
[case]
value=new_animation
{SIMPLE_KEY id string}
[link]
name="units/unit_type/animation"
[/link]
Expand Down

0 comments on commit 71da996

Please sign in to comment.