URL:
<http://gna.org/bugs/?25043>
Summary: HP loss when changing 'movement cost' for a turn
with an object
Project: Battle for Wesnoth
Submitted by: skeptical_troll
Submitted on: Wed 07 Sep 2016 11:24:17 AM UTC
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: 1.12.2
Operating System: Ubuntu 14.04
_______________________________________________________
Details:
the following code causes units that picked the item to lose few HP when the
effect wears off. Other strange effects occurs, like AMLAed units getting
fully healed regardless of their started HP. Tested in wesnoth 1.12.2
[code]
{PICKUPPABLE_ITEM test_ring 10 7 race=khalifate items/ring-red.png
( _ "This ring gives improved movement in caves to the bearer" )
( _ "Cave agility ring^Take it")
( _ "Cave agility ring^Leave it")
( _ "This is one of those rings that improves movement in caves. We
dwarves are already agile enough on caves. This is definitely better for
clumsy humans.")(
[object]
image=items/ring-red.png
name= _ "Cave agility ring"
description= _ "This ring gives improved movement in caves."
duration=turn
[effect]
apply_to=movement_costs
replace=yes
[movement_costs]
cave=1
[/movement_costs]
[/effect]
[/object]
)}
[/code]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25043>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs