.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Magic gems, magic duel and returning (http://forum.shrapnelgames.com/showthread.php?t=42085)

LDiCesare January 26th, 2009 03:14 AM

Magic gems, magic duel and returning
 
I'm trying to do the following with an S9 mage:
Cast teleport, script Magic Duel x 3 + Returning (cost: 5 gems).
I give 6 gems to my mage.
End result: The very first magic duel uses 3 gems, which means, the mage will be unable to finish the script. I suppose giving him 12 gems might cut it, but it's kind of inefficient.
Is there any way to coerce a mage into doing what the scrit says?

I mean, the ai could read the script, check the number of gems required, and make sure it doesn't shoot itself in the foot on first turn of the battle.

vfb January 26th, 2009 03:44 AM

Re: Magic gems, magic duel and returning
 
As you say, the only solution with the current game code is to give your mage enough gems that he won't run out even if he goes nuts with fatigue reduction gems.

And even if you give him enough gems, you can still get into trouble. If the opposing army only has 3 leaders, and they are all astral mages, you can rout the opposing forces. If the enemy is routing, gem usage can get turned off, so you: teleport in, fire off your magic duels, and now your immobile god (for example) is stuck in an enemy province with no way out, until you build a lab or the enemy attacks so you can actually cast returning.

It would be really nice if the combat scripting menu had just one more command, "Always cast a specific spell" And then no matter what happens: assassination, scout discovered in province, army attacks, your side routs, the enemy routs; if that action slot is hit and your mage has enough gems, he casts the spell.

I see what you mean about conserving gems so that the first 5 scripted spells can be cast, that would be nice too.

Kuritza January 26th, 2009 04:16 AM

Re: Magic gems, magic duel and returning
 
Actually, magic duel seems to be quite speical, in a bad way. Usually, mage doesnt use additional gems if his magic path is high enough. I mean, if you give a D3 SK an extra death gem to cast a soul vortex, we wont use it - he will get 40+ fatique instead (which is a bad thing).
But for a magic duel, mages tend to consume additional gems for some reason, so 'magic duelx2, returning' script fails quite often.

OmikronWarrior January 26th, 2009 04:53 AM

Re: Magic gems, magic duel and returning
 
This thread brings to mine a question thats been filtering through my mind. Does anyone know how the AI chooses targets for Mind Duel? Will it pick lower level astral mages to maximize chances of a successful duel, or will it pick a "monster" target such as a Seraph first?

Digress January 26th, 2009 06:26 AM

Re: Magic gems, magic duel and returning
 
I think its random - any astral mage on the battlefield.

llamabeast January 26th, 2009 06:38 AM

Re: Magic gems, magic duel and returning
 
I haven't worked it out, but I know that in my first ever MP game, as Sauromatia against T'ien Ch'i, I recruited a whole load of soothsayers to magic duel the enemy celestial masters. FrankTrollman (for it was he) brought along his high-astral Lord of Plenty, and every single one of my soothsayers killed himself trying to magic duel it.

Gregstrom January 26th, 2009 06:47 AM

Re: Magic gems, magic duel and returning
 
If it works like other instakill spells, it'll tend to go for high-hp targets first. If so, seraphs would be a high-priority target.

LDiCesare January 26th, 2009 07:32 AM

Re: Magic gems, magic duel and returning
 
Now I just hope I gave him enough gems... I'm wondering whether my test of 11 gems had been with 2 or 3 magic duels scripted before the returning... I hope 12 gems for 3 duels + returning will be enough.

archaeolept January 26th, 2009 09:22 AM

Re: Magic gems, magic duel and returning
 
magic duel will target the highest astral mage first.

thus, if you give your pretender 1 astral, but always keep him around a bunch of s2 mages, he should be safe :)

RonD January 26th, 2009 11:19 AM

Re: Magic gems, magic duel and returning
 
Quote:

Originally Posted by LDiCesare (Post 669724)
Now I just hope I gave him enough gems... I'm wondering whether my test of 11 gems had been with 2 or 3 magic duels scripted before the returning... I hope 12 gems for 3 duels + returning will be enough.

If it is an MP game that hasn't hosted yet, you can always submit a new turn file.


All times are GMT -4. The time now is 10:54 AM.

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