URL:
<http://gna.org/bugs/?11424>
Summary: Attacks cannot be modified directly
Project: Battle for Wesnoth
Submitted by: zookeeper
Submitted on: Friday 04/04/08 at 08:47
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: win xp
_______________________________________________________
Details:
If I try to modify a unit's attack directly, for example like this, the
modification never happens:
[event]
name=moveto
first_time_only=no
[filter]
x=14
[/filter]
{DEBUG_MSG "modifying attack[0].damage"}
{VARIABLE unit.attack[0].damage 99}
[unstore_unit]
variable=unit
find_vacant=no
[/unstore_unit]
[/event]
This has always used to work before, but at some point it's gotten broken in
trunk post-1.4 (the above works just fine on 1.4). The changes made to
[attack] tags seem to be completely ignored when unstoring a unit, because
the modified values don't even show up in the savefiles.
_______________________________________________________
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