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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 9th, 2005, 08:33 AM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Why does the ai EVER choose Fire Flies?


I dont understand why the computer EVER selects Fire Flies as a spell to cast once Evocation 1 is researched. Fire Flies cost 20- fatigue, does 6ap damage, has -1 precision, a range of 25+, and requires 1 fire. Fire Darts has identical stats, but does 10ap damage and has +4 precision. Obviously, Fire Darts is better in all ways to Fire Flies, which is also represented by the fact that you have to research Fire Darts in order to cast it, while any pyrodork can cast Fire Flies out of the box. Yet once scripts run out, or if none are chosen, the computer will more often cast Fire Flies instead of Fire Darts. But why, if it doesnt save fatigue? And if Fire Flies is actually a better choice for some other (which?) reason � why is it a freebie?
Reply With Quote
  #2  
Old February 9th, 2005, 04:08 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Why does the ai EVER choose Fire Flies?

All of this is under 'IIRC' -warning. I really hope I remember this right...

DomII AI does not calculate by the numbers - it tests the spells. The AI runs maybe five tests with both Fire Flies and Fire Darts. The one which has most effect on the tests (most damage caused) will be cast. Lucky cast of Fire flies can be better than that of Fire Darts, and so can be five.
Reply With Quote
  #3  
Old February 9th, 2005, 04:55 PM
Etaoin Shrdlu's Avatar

Etaoin Shrdlu Etaoin Shrdlu is offline
Corporal
 
Join Date: Mar 2004
Location: Seattle WA
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Etaoin Shrdlu is on a distinguished road
Default Re: Why does the ai EVER choose Fire Flies?

Fire Flies has 6 shots. Fire Darts is 3+ (so an F1 would send 3). The AI assumes (I guess) that "hey, I have twice as many chances to hit!" without noticing that the Darts are bigger hits and better targeting.
Try with an F2+ (gets more Darts at higher levels.) I imagine an F4 would not use Flies at all.
__________________
It's just a dogma-eat-dogma world...
Reply With Quote
  #4  
Old February 10th, 2005, 08:39 AM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Re: Why does the ai EVER choose Fire Flies?

Hm.... sounds like there could be room for improvement here.

Perhaps if the computer decides it is going to cast some form of damage-dealing spell, it should calculate research level of that spell into the algorithm somehow?
Reply With Quote
  #5  
Old February 10th, 2005, 01:36 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Why does the ai EVER choose Fire Flies?

Why should the research level matter? Better spells often need more research, but that doesn't mean they always are. For example, in many cases I prefer Falling Frost to Frozen Heart. Both are good, but for different reasons, and should be used depending on the situation.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 09:54 AM.


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