52 Commits

Author SHA1 Message Date
Rusty Russell
bbc65610b0 Fix crash on slowed unit vs. unit with slow attack.
Fix obvious bug with opp.untouched initialization.
2006-01-30 04:59:10 +00:00
Rusty Russell
7d76a74f1f Attack prediction code giving probability of each unit's possible HP values.
Code is not currently built by default, as it's not used anywhere yet.
The tools/ code can be used to check the correctness of the algorithm,
esp for any future modifications.  Handles slow, drain, berserk,
firststrike and swarm.
2006-01-17 13:22:12 +00:00