-
-
Notifications
You must be signed in to change notification settings - Fork 993
/
abilities.cfg
23 lines (21 loc) · 929 Bytes
/
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
#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.
[leadership]
id=inspire
value="(25 * (level - other.level + 1))"
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]
formula="level <= other.level"
[/filter]
[/affect_adjacent]
[/leadership]
#enddef