1#textdomain wesnoth-thot 2 3#define SPECIAL_NOTES_INSPIRE 4_" 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 5 6#define ABILITY_INSPIRE 7 # Canned definition of the Inspire ability to be included in an 8 # [abilities] clause. 9 [leadership] 10 id=inspire 11 value="(25 * (level - other.level + 1))" 12 cumulative=no 13 name= _ "inspire" 14 female_name= _ "female^inspire" 15 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." 16 affect_self=no 17 [affect_adjacent] 18 [filter] 19 formula="level <= other.level" 20 [/filter] 21 [/affect_adjacent] 22 [/leadership] 23#enddef 24