Skip to content

Commit

Permalink
Random Recruit MAI test: Add second [probability] tag
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 30, 2016
1 parent 85a498b commit 74ce745
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/ai/micro_ais/scenarios/recruiting.cfg
Expand Up @@ -64,6 +64,10 @@
type=Swordsman,Peasant
probability=8
[/probability]
[probability]
type=Mage
probability=4
[/probability]

skip_low_gold_recruiting=yes
[/micro_ai]
Expand All @@ -83,7 +87,7 @@

{MESSAGE Langzhar "" "" _"Just watch the recruiting of both sides and see if it is what you would expect. The recruitment lists cover level 0 to level 2 units, in order to make differences more obvious."}
# wmllint: unbalanced-on
{MESSAGE narrator "wesnoth-icon.png" "Notes" _"If you have not changed anything in the scenario code, Side 1 uses the Random Recruitment Micro AI, with swordsmen and peasants having been given higher probability than the other units. This is not meant as a good recruitment pattern, it simply serves as a demonstration how to use the AI.
{MESSAGE narrator "wesnoth-icon.png" "Notes" _"If you have not changed anything in the scenario code, Side 1 uses the Random Recruitment Micro AI, with swordsmen and peasants having been given higher probability than the other units, and mages a middling probability. This is not meant as a good recruitment pattern, it simply serves as a demonstration how to use the AI.
Side 2 uses the Rush Recruitment Micro AI (which is also used in the Experimental AI).
Expand Down

0 comments on commit 74ce745

Please sign in to comment.