URL:
  <http://gna.org/bugs/?11258>

                 Summary: traits order influences unit stats
                 Project: Battle for Wesnoth
            Submitted by: vaxquis
            Submitted on: Friday 03/14/2008 at 03:23
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Units
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.4 final
        Operating System: win98 (any)

    _______________________________________________________

Details:

i don't really know if this was intended as a feature or simply an overlooked
bug (possibly a bug imo), but i decided to submit it nevertheless.

lets take a Dark Adept, with a base HP of 28. when it's rolled with
quick,resilent -> it gets HP of 32; when rolled with resilent,quick -> it
gets HP of 31. imo this should not happen, and it hardly can be explained
with operator reordering, so it's probably an effect of rounding the values:

28 with quick penalty of -5% = 26,6 ~ 27, +5HP from res = 32HP
28 +5HP from res = 33, with quick pentalty of -5% = 31,35 ~ 31 HP

as a bugfix, i'd propose using a fixed ordering of traits (like resilent or
quick always being before the other), because:
a) fixed ordering of traits (alphabetical order maybe?) wouldn't change
anything in the gameplay besides the way "quick" penalty is calculated
b) the only other way to circumvent this other than this is changing "quick"
HP penalty to a fixed value, and that'd change the intended behaviour of
"quick", which is supposed to penalize bigger units in a bigger degree.

btw, this bug is easy to reproduce with base 48HP units, and with healthy
instead of resilent, and in all similar cases.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11258>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to