Follow-up Comment #2, bug #11424 (project wesnoth):
max_moves and max_hitpoints also have the same problem. Another example of
the bug in WML:
[event]
name=new turn
[store_unit]
[filter]
x,y=1,1
[/filter]
variable=what
kill=yes
[/store_unit]
{DEBUG_MSG "$what.max_moves before"}
{VARIABLE what.max_moves 10}
{DEBUG_MSG "$what.max_moves after"}
[unstore_unit]
variable=what
[/unstore_unit]
[store_unit]
[filter]
x,y=1,1
[/filter]
variable=huh
[/store_unit]
{DEBUG_MSG "$huh.max_moves again"}
[/event]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11424>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs