Follow-up Comment #1, patch #1138 (project wesnoth):
if(target.max_hitpoints - (target.max_hitpoints - target.hitpoints) > 5,
that's equivalent to hitpoints > 5
you don't check for mechanical/regenerating units, it might be worth checking
by now
you need to add a changelog entry and an about.cfg entry too
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1138>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs