mattsc
|
0e7c09f7b5
|
Lua AIs: no need to set variables to nil explicitely
This is mostly done for consistency across the Lua AI code
|
2018-08-30 07:35:57 -07:00 |
|
mattsc
|
cb423b2fbd
|
Lua AIs: use math.huge to initialize extrema variables
|
2018-08-30 07:18:04 -07:00 |
|
mattsc
|
a6866390df
|
Lua AIs: use unit methods instead of wesnoth functions
|
2018-08-27 07:05:43 -07:00 |
|
mattsc
|
7c137e1a33
|
Lua code: replace deprecated helper.child_range() calls
|
2018-05-13 20:52:08 -07:00 |
|
mattsc
|
f0bb40590f
|
Lua code: replace deprecated helper.get_child() calls
|
2018-05-13 20:51:56 -07:00 |
|
Celtic Minstrel
|
8d4cf3cf62
|
Shorten requires where possible
|
2017-05-03 02:42:25 -04:00 |
|
mattsc
|
f2406ac829
|
Experimental AI: correctly deal with hidden and petrified units
|
2016-10-19 07:37:19 -07:00 |
|
mattsc
|
c03bd5411f
|
Various Lua AI code: use simpler and faster new syntax
No change in behavior.
|
2016-09-04 18:54:26 -07:00 |
|
mattsc
|
c46d8459d6
|
Retreat AI eval: poisoned units do not get resting healing bonus
... in evaluation of best retreat positions.
|
2013-11-14 20:04:52 -08:00 |
|
mattsc
|
9c86a71ef7
|
ExpAI retreat code: also return enemy attack map
|
2013-11-01 08:51:21 -07:00 |
|
mattsc
|
1fa06a6811
|
Exp AI retreat code: make function min_hp() externally accessible
|
2013-11-01 08:51:21 -07:00 |
|
mattsc
|
938b2e6520
|
ExpAI retreat: count amount of hp healed when choosing retreat location
|
2013-11-01 08:51:21 -07:00 |
|
mattsc
|
456f60a9ee
|
ExpAI: make sure injured regenerating units are not stranded if ...
... no non-regenerating units can get to safe locations.
|
2013-11-01 08:51:20 -07:00 |
|
Simon Forsyth
|
3c41b7c75a
|
Fix bug preventing regenerating units from retreating with experimental AI
(thanks mattsc)
|
2013-02-16 03:11:14 +00:00 |
|
Simon Forsyth
|
f5a4a83def
|
New experimental CAs to improve village capturing and retreat when injured
|
2013-01-21 19:54:58 +00:00 |
|