DIR Return Create A Forum - Home
---------------------------------------------------------
zwclose7
HTML https://zwclose7.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Battle for Wesnoth
*****************************************************
#Post#: 246--------------------------------------------------
Ability: fallback
By: zwclose7 Date: February 4, 2017, 7:41 am
---------------------------------------------------------
Description: This unit regains its movement after attacking, but
can't attack again.
[code]#define ABILITY_FALLBACK
[dummy]
id=fallback
name="fallback"
description="This unit regains its movement after attacking,
but can't attack again."
[/dummy]
[/abilities]
[event]
name=attack end
first_time_only=no
[modify_unit]
[filter]
ability=fallback
x=$x1
y=$y1
[/filter]
moves=$this_unit.max_moves
[status]
uncovered=no
[/status]
[/modify_unit]
[/event]
[+abilities]
#enddef
#define SPECIAL_NOTES_FALLBACK
" This unit's fallback ability allows it to retreat after
attacking."#enddef[/code]
*****************************************************