J. Tyne cb64ca895d Correcting attack predictions for swarm...
...when there are previous combats to account for.

(It passes the attack simulator check.)

The basic problem with the old system is that it treated the number of
strikes as an independent variable, even though it depends on the
number of hit points.

There is some additional overhead with this method, but I optimized
some things for the common case (no swarm), and benchmarking indicated
a negligible 1% increase in run time when no units had swarm.
2012-10-19 21:27:07 +00:00
..
2011-10-21 23:42:46 +00:00
2011-12-17 16:37:19 +00:00
2012-02-18 11:31:06 +00:00
2011-10-21 23:42:46 +00:00

This is a directory of miscellaneous developer tools for Battle for Wesnoth,
mostly to support packaging, code integrity checks, and control of the
Wesnoth servers.

Tools that work on data (WML, maps, images, sounds) no longer belong here.
Go to data/tools for those.