URL:
<http://gna.org/bugs/?21620>
Summary: Aggregate [damage] specials' multiply= and divide=
with alignment, etc.
Project: Battle for Wesnoth
Submitted by: elvish_pillager
Submitted on: Sat 08 Feb 2014 04:51:08 PM UTC
Category: Feature Request
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.11.8+dev
Operating System: Debian Linux
_______________________________________________________
Details:
Currently, weapon specials' damage modifications are applied separately,
before alignment, leadership, and resistances, and they round *down* (see
unit_abilities.cpp:1043). This is especially bad for specials that reduce
damage by a large factor.
I believe that multiply= and divide= in attack specials should be aggregated
with those other effects and applied in one pass with one rounding.
The worst case scenario: A unit attacks with a 5-damage attack against a
special that divides by 3, while getting +50% from leadership.
Current behavior:
5/3 = 1.67, rounds to 1.
1 * 150% = 1.5, rounds to 1 (because it rounds towards the value *after*
specials, not the original value)
Desired behavior:
5/3 * 150% = 2.5, rounds to 3.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21620>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs