.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

Reply
 
Thread Tools Display Modes
  #1  
Old September 4th, 2011, 08:50 PM
Samhain's Avatar

Samhain Samhain is offline
Sergeant
 
Join Date: Jan 2010
Location: Michigan
Posts: 251
Thanks: 14
Thanked 13 Times in 8 Posts
Samhain is on a distinguished road
Default Re: Gem Usage in Battle

In that case, you should report it as a bug.
Reply With Quote
  #2  
Old September 5th, 2011, 02:10 PM

LDiCesare LDiCesare is offline
Captain
 
Join Date: Apr 2004
Location: France
Posts: 820
Thanks: 4
Thanked 33 Times in 24 Posts
LDiCesare is on a distinguished road
Default Re: Gem Usage in Battle

Why would it be a bug? It's the ai gem usage, the ai decides to use it however it wants. If the wiki gives an inaccurate description of how the battle ai works, it's that site which is wrong, not the game which is bugged. It may as well be working as designed for all we know, and it's not an issue once you have done your homework of checking how many gems you actually need before going to battle.
Reply With Quote
  #3  
Old September 5th, 2011, 08:40 PM
Samhain's Avatar

Samhain Samhain is offline
Sergeant
 
Join Date: Jan 2010
Location: Michigan
Posts: 251
Thanks: 14
Thanked 13 Times in 8 Posts
Samhain is on a distinguished road
Default Re: Gem Usage in Battle

Quote:
Originally Posted by LDiCesare
Why would it be a bug? It's the ai gem usage, the ai decides to use it however it wants. If the wiki gives an inaccurate description of how the battle ai works, it's that site which is wrong, not the game which is bugged. It may as well be working as designed for all we know, and it's not an issue once you have done your homework of checking how many gems you actually need before going to battle.
Reply With Quote
It would be an issue if you gave your mage Pearls for the purpose of casting a particular spell but he or she burned them first casting magic duel.

Perhaps I was mistaken, but I inferred from your original post in this thread you felt that there was something particularly odd about gem usage for Magic Dual not that the claim in the Wiki about AI only using gems to reduce fatigue to 50 was in doubt.
Reply With Quote
  #4  
Old September 5th, 2011, 08:41 PM
Deathblob's Avatar

Deathblob Deathblob is offline
Corporal
 
Join Date: May 2011
Posts: 103
Thanks: 17
Thanked 24 Times in 17 Posts
Deathblob is on a distinguished road
Default Re: Gem Usage in Battle

The other units don't even have to be sacred to screw up a self-bless. Here is a Dai-Oni trying to bless himself. He's not very smart, so instead of targeting himself (at x6 y15), he targets his non-sacred wolf in (x5 y16), and hopes he gets a spalsh bless. He doesn't. Here's the relevant -dd info:

deploycom Shingen at 6 15
com Shingen cast spell (favspell Blessing) (mayusegems 1)
best Blessing this far, 5 15 (112 pnts)
castspell: cnr261 spl754 (Blessing) vis0 x5 y15 spldmg1
blastsqr: unr7365 x5 y15 aoe1 dmg1 eff10 spc1086373888 as10217 al9
affectvic vic7367 hv0
hitunit 7365 7367 dmg1 spec1086373888 ba-1
blastsqr: unr7365 x4 y16 aoe1 dmg1 eff10 spc1086373888 as10217 al9
blastsqr: unr7365 x6 y16 aoe1 dmg1 eff10 spc1086373888 as10217 al9
blastsqr: unr7365 x5 y14 aoe1 dmg1 eff10 spc1086373888 as10217 al9
blastsqr: unr7365 x3 y17 aoe1 dmg1 eff10 spc1086373888 as10217 al9

It looks like there's a no-debug-output stage building the scores for spells, where Bless is targeted at various squares, and scored based on the outcome. Perhaps the Dai Oni was splashed with a bless during the trial run cast at (5,15). I can't tell if (6,15) was even tested, since there's not enough output.

If you have a mixed squad of sacreds (S) and vanilla units (V) like this:

SVS
VVV
SVS

Then it may be optimal to target the center vanilla square.

But when there's only a single sacred unit on the battlefield, it's completely buggy that the unit does not target his own square when casting Bless.
Attached Files
File Type: zip blesstest.zip (52.1 KB, 412 views)
Reply With Quote
  #5  
Old September 6th, 2011, 07:38 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

Yeah, that matches what I've seen.

It's completely buggy, except that it uses exactly the same code that's used for all the other spell targeting. Now that you know what it is, you can generally work around it. It's only really brutal, if you're using self-blessing thugs against Caelum or Pan. Flying PD means there are always targets around.

If it's really frustrating, mod in a new H1 bless at AoE 1 or caster only.
Reply With Quote
  #6  
Old September 6th, 2011, 08:02 PM
Deathblob's Avatar

Deathblob Deathblob is offline
Corporal
 
Join Date: May 2011
Posts: 103
Thanks: 17
Thanked 24 Times in 17 Posts
Deathblob is on a distinguished road
Default Re: Gem Usage in Battle

I wasn't sure what you meant at first, but I think I understand now... just like in the Dai Oni case of the spell targeting the wolves, if enemy PD flies over, the bless will target the enemy PD square, any just maybe splash onto your thug. Is that right? If so, that's even worse than I thought ... the enemy is of course not affected by the bless!
Reply With Quote
  #7  
Old September 7th, 2011, 08:09 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

Yeah, that's about right.

It's not quite as bad as it sounds. It will only cast on an enemy if you can fall into the AoE. It does mean when you aren't solo it has a better chance of getting multiple targets.
Reply With Quote
  #8  
Old September 8th, 2011, 02:17 AM

Dimaz Dimaz is offline
First Lieutenant
 
Join Date: May 2005
Posts: 660
Thanks: 63
Thanked 75 Times in 31 Posts
Dimaz is on a distinguished road
Default Re: Gem Usage in Battle

I had Magic Duel (Prec 100) miss the target square, with S9 oracle too. I posted the -ddd logs somewhere and probably still have the turn in mail archives.
Reply With Quote
  #9  
Old September 8th, 2011, 02:37 AM
Deathblob's Avatar

Deathblob Deathblob is offline
Corporal
 
Join Date: May 2011
Posts: 103
Thanks: 17
Thanked 24 Times in 17 Posts
Deathblob is on a distinguished road
Default Re: Gem Usage in Battle

Was there a Storm or Mist up at the time? Were there so many units on the battlefield that the target was more than 100 squares away?
Reply With Quote
  #10  
Old September 8th, 2011, 03:03 AM

Dimaz Dimaz is offline
First Lieutenant
 
Join Date: May 2005
Posts: 660
Thanks: 63
Thanked 75 Times in 31 Posts
Dimaz is on a distinguished road
Default Re: Gem Usage in Battle

There were only 2 units (Oracle and Golem IIRC) or maybe some pd too, I'm not sure. No BF spells. The miss was one square, something like (5,15) instead of (5, 14).
Reply With Quote
Reply

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 05:45 AM.


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