DIR Return Create A Forum - Home
---------------------------------------------------------
zwclose7
HTML https://zwclose7.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Battle for Wesnoth
*****************************************************
#Post#: 244--------------------------------------------------
Ability: immortal
By: zwclose7 Date: January 30, 2017, 6:33 am
---------------------------------------------------------
Description: Units with this ability can only be killed by
arcane attacks.
[code]#define ABILITY_IMMORTAL
[dummy]
id=immortal
name="immortal"
description="Units with this ability can only be killed by
arcane attacks."
[/dummy]
[/abilities]
[event]
name=last breath
first_time_only=no
[filter]
ability=immortal
[/filter]
[filter_second_attack]
[not]
type=arcane
[/not]
[/filter_second_attack]
{VARIABLE unit.hitpoints 1}
[unstore_unit]
variable=unit
text="resist"
{COLOR_HEAL}
[/unstore_unit]
[/event]
[+abilities]
#enddef
#define SPECIAL_NOTES_IMMORTAL
" This unit can only be killed by arcane attacks."#enddef[/code]
*****************************************************