.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 25th, 2004, 09:07 AM

Pocus Pocus is offline
Lieutenant Colonel
 
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
Pocus is on a distinguished road
Default AI wasting gems

I got a very hard to justify AI decision yesterday. I teleported my Baphomet (fire 9 astral 4) with 4 fire gems and with the following script : lesser fire elts x4

I expected that, being so powerful in fire, he would only consume one gem (the basic cost) for each casting.

No avail... The first cast used 3 gems, with the Baphomet rising to 11 fatigues (10 from the spell, 1 from enc). The second (and Last cast) gave 13 fatigues (12+1).

Now I wonder why there is no basic algorithms which prevent the wasting of 2 additional gems just to get 2 less fatigues... Here is a quick example:

1. pay basic cost.
2. check which fatigue reduction you would get by spending one more gem:
a) if caster fatigue is <90, dont spend if the fatigue reduction is 5 or less.
b) if caster fatigue is <190, dont spend if the fatigue reduction is 3 or less.
c)if caster fatigue is >=190, dont spend if the fatigue reduction is 1 or less.

if increased gem cost in decided, repeat 2. Limit extra gem usage with the caster level, as usual.

Not that difficult...


Second problem:
I scripted blink as my 5th spell, in 3 differents combat. The spell never triggered. I though that spells without gem usage were never overriden, if the conditions were met for the cast (and blink have no conditions like range... that can prevent its casting).
So, a bug, or a normal behavior? Dont tell me that the infamous 'AI override zeal' is back in full force.
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.