.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 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old September 5th, 2011, 05:02 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Gem Usage in Battle

Quote:
Originally Posted by Bananadine View Post
Quote:
Originally Posted by Chazar View Post
If I had only known those a single turn earlier! I guess that either knowing about the corner-self bless and/or the blood slave batteries would have saved my day.
I'm not sure, but it appears that the "corner" part of the corner-self-blessing idea was suggested because a unit by itself in the corner wouldn't be close enough to other sacred units to decide to bless them instead of itself. But if the unit is alone to begin with, there's no reason to put it in any particular spot just for the sake of blessing--it'll very likely hit itself on its first try no matter where you put it. (I think it's still possible for the blessing to miss, in spite of the maximal precision of the spell, but even if I'm right about that, it's still unlikely enough that you can safely ignore the possibility in most cases.)

I did extensive testing one this. It is not possible for a self bless to miss. (There's some evidence that long range 100 precision spells can miss, especially with low precision.) If there is no other unit within range, the blesser will always hit himself. Any other unit within range, even enemys or non-sacred units, makes it possible. The spell always hits it's target, but to choose that target the AI simulates casting it on the available targets, then picks the first target that got the best result. Since the AoE spread is random, the actual cast won't hit the same squares and thus maybe not the caster.
That's probably clear as mud, but I'm not sure how to say it better.


Quote:
Originally Posted by thejeff View Post
I would assume the "Is this battle a big enough threat to use gems" calculation, applies to using gems to counter fatigue. I'm not 100% sure, but it looks like that is what happened. 25 PD wasn't enough of a threat, so the fatigue checks didn't even come into play.
My experience suggests that the 1-or-0 gem-use switch that shows up in the debug log is the extent of the influence that the enemy's strength can have on gem use in this situation. Especially with a self-targeting spell like Soul Vortex that works no matter what enemies are present, I wouldn't expect enemy strength to have anything to do with the per-spell gem use decision. But I'm only speculating with little evidence. Can anybody confirm this one way or the other?
I think we agree. For some reason I was thinking that gems to avoid fatigue might ignore the gem-use switch. They don't of course.
Reply With Quote
 

Bookmarks

Tags
battle magic, battles, gems


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:29 PM.


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