-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
abilities.cfg
79 lines (77 loc) · 2.18 KB
/
abilities.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
#textdomain wesnoth-thot
#define SPECIAL_NOTES_INSPIRE
_" The presence of this unit inspires own units next to it to deal more damage in combat, though this only applies to units of lower or equal level."#enddef
#define ABILITY_INSPIRE
# Canned definition of the Inspire ability to be included in an
# [abilities] clause.
# Note: Works only on units of level 0-5
[leadership]
id=inspire
value=150
cumulative=no
name= _ "inspire"
female_name= _ "female^inspire"
description= _ "This unit can inspire own units that are next to it, making them fight better. Adjacent own units of lower or equal level will deal 25% more damage plus 25% for each level they are below the inspiring unit."
affect_self=no
[affect_adjacent]
[filter]
level=$($other_unit.level - 5)
[/filter]
[/affect_adjacent]
[/leadership]
[leadership]
id=inspire
value=125
cumulative=no
affect_self=no
[affect_adjacent]
[filter]
level=$($other_unit.level - 4)
[/filter]
[/affect_adjacent]
[/leadership]
[leadership]
id=inspire
value=100
cumulative=no
affect_self=no
[affect_adjacent]
[filter]
level=$($other_unit.level - 3)
[/filter]
[/affect_adjacent]
[/leadership]
[leadership]
id=inspire
value=75
cumulative=no
affect_self=no
[affect_adjacent]
[filter]
level=$($other_unit.level - 2)
[/filter]
[/affect_adjacent]
[/leadership]
[leadership]
id=inspire
value=50
cumulative=no
affect_self=no
[affect_adjacent]
[filter]
level=$($other_unit.level - 1)
[/filter]
[/affect_adjacent]
[/leadership]
[leadership]
id=inspire
value=25
cumulative=no
affect_self=no
[affect_adjacent]
[filter]
level=$other_unit.level
[/filter]
[/affect_adjacent]
[/leadership]
#enddef