URL:
<http://gna.org/bugs/?17780>
Summary: Objects cannot negatively increase weapon damage to
0
Project: Battle for Wesnoth
Submitted by: psychotickittens
Submitted on: Tue 22 Feb 2011 06:35:10 AM GMT
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.8.2
Operating System: Windows 7
_______________________________________________________
Details:
Howdy,
I run Wesnoth 1.8.2 on Windows 7, I've never compiled wesnoth, and the
problem is:
When using an object like:
[object]
[filter]
x=unit.x
y=unit.y
[/filter]
[effect]
apply_to=attack
[filter_attack]
range=melee
[/filter_attack]
increase_damage=-$variableornumber
[/effect]
silent=yes
[/object]
negatively increasing the value to zero or below will get you "1" for the
damage. It should round to zero when below zero, or even allow negative
numbers, though I do not know how negative damage values would fare in game
and that may be over complicating things, 1 should still not be the minimum
value for weapon damage using an object.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17780>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs