mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 02:43:26 +00:00

...to disable the advancement if the unit can advance to another unit. changelog update for commit 2006-06-01T15:10:22Z!benoit.timbert@free.fr
41 lines
797 B
INI
41 lines
797 B
INI
#this file contains macros for After Max Level Advancement (AMLA)
|
|
|
|
#macro to define AMLA adding HP
|
|
#define AMLA_TOUGH HP_ADVANCE
|
|
[advancement]
|
|
strict_amla=yes
|
|
max_times=100
|
|
id=tough_{HP_ADVANCE}
|
|
description= _ "Max HP bonus +" {HP_ADVANCE} _", MAX XP +25%"
|
|
icon="misc/icon-amla-tough.png"
|
|
image="misc/icon-amla-tough.png"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase={HP_ADVANCE}
|
|
increase_total={HP_ADVANCE}
|
|
[/effect]
|
|
[effect]
|
|
apply_to=max_experience
|
|
increase=25%
|
|
[/effect]
|
|
[/advancement]
|
|
#enddef
|
|
|
|
#macro to define AMLA full healing
|
|
#define AMLA_NECROHEAL
|
|
[advancement]
|
|
strict_amla=yes
|
|
max_times=100
|
|
id=necroheal
|
|
description= _ "Full Heal"
|
|
image="misc/icon-amla-fullheal.png"
|
|
icon="misc/icon-amla-fullheal.png"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=0%
|
|
heal_full=yes
|
|
[/effect]
|
|
[/advancement]
|
|
#enddef
|
|
|