Rusty Russell wrote:
Hi all,

        As previously referenced in discussions on #wesnoth-dev with Xan and
decker2, the current damage calculations are quite complex.  Currently
any damage "adders" are added together, then whole thing multiplied by
multipliers, then finally ToD & Leadership percentage added together,
then applied.  (No WML I know of uses damage adders currently).

So, charge + day + 1-level-diff-leader == * 2 * (1.25 + 1.25) == *3

We'd prefer to simplify this so all the additions happen together, then
all the multiplication happen.  So charge + day + 1-level-diff-leader ==
* 2 * 1.25 * 1.25 == *3.125
One of the major reasons for the current system is for cases such as night + 1-level-diff-leader == * (1 + 0.25 - 0.25) == *1

Under this new system we would have 1.25 * 0.75 == 0.9375.

Meanwhile, day + 1-level-diff-leader would be 1.25*1.25 == 1.5625, while currently it's a nice 1.5.

I think this is more difficult to understand, and leads to alot more ugly arithmetic. The current system was carefully chosen to keep nice round numbers.

David

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

Reply via email to