Commit graph

44 commits

Author SHA1 Message Date
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Matthias Krüger
b11d3fdcbe fix a bunch of typos found by codespell in data directory.
https://github.com/lucasdemarchi/codespell
2018-02-06 23:03:06 +11:00
mattsc
a673e64d44 FAI files: remove trailing whitespaces 2017-10-01 13:43:27 -07:00
mattsc
6751172282 Poisoner FAI: prevent passing empty list to min(), fixes #1999
The WFL min() function was changed from returning zero to returning an
error when an empty list is passed as argument (commits eccd3d8e and
fd9f1153).  This adapts the Poisoner FAI code to deal with that
correctly.
2017-10-01 13:41:35 -07:00
Celtic Minstrel
e945755793 Accidentally committed this 2017-05-08 13:52:31 -04:00
Celtic Minstrel
95c4556a59 fai -> wfl in FormulaAI files 2016-07-29 12:52:10 -04:00
Celtic Minstrel
7c5c79aa20 Update all FormulaAI scripts for renamed keys
Also, note the changes in the changelog and RN
2016-03-29 13:04:21 -04:00
flix
2965da1731 Add comments to data/ai/formula/new_recruitment.fai 2013-06-01 23:41:27 +03:00
Alexander van Gessel
91b915edf4 Apply patch for bug #19032 from coffee 2011-12-21 03:18:19 +01:00
Iurii Chernyi
2da0389d81 Fix bug #14247:
...make formula_ai behave correctly if the side has only 1 recruit
2010-03-22 20:22:28 +00:00
Iurii Chernyi
6117d5b021 fixed a segfault in fai_candidate_action serialization code,
...removed some old stubs, used better and simpler AI syntax in LoW::1,
LoW::2, LoW::3 , split candidate action WML snippets to their own file
2009-12-25 01:25:34 +00:00
Iurii Chernyi
eb77fed2dc added empty stage, used experimental fai recruitment for LoW::2,
...disabled extra debug output in formula ai recruitment, disabled
recruitment of Ulfserkers and Berserkers in LoW::2
2009-09-22 23:45:23 +00:00
Iurii Chernyi
96d6531065 removed debug_label from poisoning formula 2009-08-21 16:38:50 +00:00
Bartek Waresiak
02c931ab63 Add recruitment.fai to /ai/formula/lib, improve unit choosing algorithm 2009-08-17 17:17:24 +00:00
Bartek Waresiak
ea0f15eb57 Formula AI update 2009-08-14 17:07:17 +00:00
Bartek Waresiak
1938717b2e Slence flood of errors coming from testing formula recruiting code 2009-08-14 12:19:19 +00:00
Bartek Waresiak
c47641dd25 Changed description of Formula AI from /ai/dev/, small fix to recruitment 2009-08-13 18:46:46 +00:00
Bartek Waresiak
9f71b56c87 New fai recruitment, added formula AI as choosable AI 2009-08-13 18:39:57 +00:00
Bartek Waresiak
15e8822ea3 Improvements to poison RCA eval 2009-07-05 00:24:25 +00:00
Iurii Chernyi
98067da724 changes to fai candidate action manager...
...and poisoning candidate action to make them simular to RCA ai's
candidate actions.
2009-07-02 18:11:32 +00:00
Bartek Waresiak
587ed03445 Update to poison RCA test scenario 2009-06-30 18:38:46 +00:00
Iurii Chernyi
08a6860c95 Poisoning formula improvement:
...it it better to poison regenerating/in_village unit than to not poison them.
2009-04-13 13:58:37 +00:00
Bartek Waresiak
3014f70d47 Small fix for level_up candidate move 2009-04-13 00:04:33 +00:00
Bartek Waresiak
dc2e5b8f8f Small poisoner_eval formula improvement 2009-04-12 20:26:51 +00:00
Eric S. Raymond
e7b27b6435 Change the trannstive verb "stone" (as in "turn to stone") to "petrify",
...and all related words such as "unstone", "stoned", etc. Former
usage was not really correct and led to unhelpful ambigiuity with both
"to stone" is in to hit with thrown stones, and "stoned" meaning
intoxicated.

All C++ code, WML, and tags are changed. New wmllint rules will handle all
lifting for UMC.  The wiki has been updated.

Will cause incompatibility with old savefiles containing stoned units.
2009-04-12 00:40:07 +00:00
Jérémy Rosen
b2fa522653 improve readability of poisoner_eval with the new if syntax 2009-04-10 14:16:55 +00:00
Jérémy Rosen
a81013ff9d added a very basic poison handling.
This is a proof of concept to be improved on. Patch by Velory
2009-03-27 15:49:22 +00:00
Bartek Waresiak
a348e55646 file update 2009-03-18 02:41:15 +00:00
Bartek Waresiak
2f4b0c448f Fix for #13209 bug. 2009-03-17 23:16:56 +00:00
Gunter Labes
88200903db use formula AI for the recruiting in multiplayer games 2009-03-15 22:35:37 +00:00
Bartek Waresiak
5d90e6ed9f fixed recruitment 2009-03-15 21:35:11 +00:00
Bartek Waresiak
4e8018bbd2 Faifiles update 2009-03-15 15:07:16 +00:00
Bartek Waresiak
b7216fcf3b New faifile and some fixes to current one. 2009-03-14 18:09:06 +00:00
Bartek Waresiak
9beb481f52 Some info for debugging purposes 2009-03-12 14:29:44 +00:00
Bartek Waresiak
ce19b4430f Update after recent formula change 2009-03-06 21:38:29 +00:00
Bartek Waresiak
f281d58fe2 Attack info for formula fixed along with typos in faifiles 2009-02-08 14:27:08 +00:00
Bartek Waresiak
c74d7e2ebe random changes to see how it works 2008-09-16 20:03:25 +00:00
Douglas Hains
d226edaa67 Added movement points instead of unit type to eval 2008-08-18 07:09:15 +00:00
Douglas Hains
dc825fb3b5 added level up attack candidate move
registered move in scenario-formula.cfg and added units to test functionality
2008-08-18 07:00:02 +00:00
Douglas Hains
fa3393c102 Added debugging support to scouting eval/move 2008-08-18 06:53:25 +00:00
Bartek Waresiak
caae0b82f9 New faifile and faiend formula keywords.
Improved error and exception handling for formulas. Now we get
detailed info about formula that caused an error, name of file and
number of line in which error occured.
2008-08-15 11:13:06 +00:00
Douglas Hains
cddb6b3a67 Fixed bug in scouting eval formula 2008-08-07 05:02:50 +00:00
Bartek Waresiak
514e4dd124 Move recruitment.fai to approppriate directory 2008-08-02 10:58:53 +00:00
Douglas Hains
40d6e87d40 reorganized directory structure for python and formula ais 2008-07-31 22:42:13 +00:00