View Single Post
  #13  
Old July 28th, 2007, 11:21 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Indep grimoire slightly improved

From the look of the game logs it appears that the list doesnt have any "no use" but it does use a weighted system with just a touch of random thrown in. It might be possible to examine a game log and make suggestions on changing the order that choices are made.

The problem would appear to be that there isnt any "if I am Ermor" or "if I am undead" type of thinking involved. So any suggestion would need to be balanced between its worth in removing it from a bad-use situation while also removing from all other nations use.

Just a small part of the thinking for one mage looks like this in the logs.....
com Aziakos cast spell (favspell Swarm) (mayusegems 1)
est. choices 66
best spell so far Flying Shards (score17)
best spell so far Call Ancestor (score18)
best spell so far Wrath of the Ancestors (score578)
best spell so far Stoneskin (score7197)
best spell so far Ironskin (score12730)
best spell so far Swarm (score100697)
castspell: cnr765 spl365 (Swarm) vis2 x18 y10 spldmg591
Get an order for 5543 Dragonfly, ord 0
Closest enemy (for unr 5543)

The AI code was all added into the game late. Its pretty linear and generic to all nations and conditions. Any suggestions would probably have to be also unless the AI code got a massive rewrite from scratch.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote