/
specials.cfg
85 lines (83 loc) · 2.12 KB
/
specials.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[tag]
# Using invalid characters to ensure it doesn't match a real tag.
name="~generic~"
max=0
{SIMPLE_KEY name t_string}
{SIMPLE_KEY name_inactive t_string}
{SIMPLE_KEY description t_string}
{SIMPLE_KEY description_inactive t_string}
{SIMPLE_KEY id string}
{DEFAULT_KEY active_on ability_context both}
{DEFAULT_KEY apply_to ability_apply self}
{FILTER_TAG "filter_adjacent" adjacent ()}
{FILTER_TAG "filter_adjacent_loation" adjacent_location ()}
{FILTER_TAG "filter_self" unit {FILTER_TAG "filter_weapon" weapon ()}}
{FILTER_TAG "filter_opponent" unit {FILTER_TAG "filter_weapon" weapon ()}}
{FILTER_TAG "filter_atacker" unit {FILTER_TAG "filter_weapon" weapon ()}}
{FILTER_TAG "filter_defender" unit {FILTER_TAG "filter_weapon" weapon ()}}
{WML_MERGE_KEYS}
[/tag]
[tag]
# Using invalid characters to ensure it doesn't match a real tag.
name="~value~"
max=0
super="units/unit_type/attack/specials/~generic~"
{SIMPLE_KEY value f_int}
{SIMPLE_KEY add f_int}
{SIMPLE_KEY sub f_int}
{SIMPLE_KEY multiply f_int}
{SIMPLE_KEY divide f_int}
{SIMPLE_KEY cumulative bool}
{DEPRECATED_KEY backstab bool}
{FILTER_TAG "filter_base_value" base_value ()}
[/tag]
[tag]
name="attacks"
max=infinite
super="units/unit_type/attack/specials/~value~"
[/tag]
[tag]
name="chance_to_hit"
max=infinite
super="units/unit_type/attack/specials/~value~"
[/tag]
[tag]
name="damage"
max=infinite
super="units/unit_type/attack/specials/~value~"
[/tag]
[tag]
name="drains"
max=infinite
super="units/unit_type/attack/specials/~value~"
[/tag]
[tag]
name="heal_on_hit"
max=infinite
super="units/unit_type/attack/specials/~value~"
[/tag]
[tag]
name="berserk"
max=infinite
super="units/unit_type/attack/specials/~generic~"
{SIMPLE_KEY value f_int}
{SIMPLE_KEY cumulative bool}
[/tag]
[tag]
name="plague"
max=infinite
super="units/unit_type/attack/specials/~generic~"
{SIMPLE_KEY type string}
[/tag]
[tag]
name="swarm"
max=infinite
super="units/unit_type/attack/specials/~generic~"
{SIMPLE_KEY swarm_attacks_max f_int}
{SIMPLE_KEY swarm_attacks_min f_int}
[/tag]
[tag]
name="*"
max=infinite
super="units/unit_type/attack/specials/~generic~"
[/tag]