![]() |
Using Gems in Combat and Holding Positions
Hey, folks. I have a couple things I'm seeing during battles and wonder if you guys can explain why they're happening:
1. I have a mage who's level 3 in a path who's been ordered to cast a level 4 global battlefield spell in that same path. He has 10 gems of the associated path in his inventory, yet didn't cast the spell in battle. Since he's level 3, he can use 3 gems max to cast the spell. It's a 100 fatigue spell, so one gem is used to boost his level to 4 for the single casting and two more can be used to reduce fatigue. So, why did he cast Personal Luck instead of the level 4 spell? When he was recruited, he was level 1 in the path. I used empowerment to get him to level 3. Could it be the game thinks he's still at level 1? If so, then that's a major bug. Does anyone have a theory? If not, I'll be submitting this as a bug report. 2. I give my level 1 priests the following order: (Banishment)(Banishment)(Banishment)(Banishment)(B anishment)Spells. Even though I have them aligned in a line from top to bottom, they all gather into a clump in the bottom left corner of the battlefield. My theory is that if they don't have a valid target for Banishment, they cast Bless on the first round if there's a valid target, but then do a "stay behind troops" when they don't have one for banishment instead of staying put. Has anyone else seen this behavior? I want them to maintain the line, not clump together in the corner. Thanks! |
Re: Using Gems in Combat and Holding Positions
1: What spell is he trying to cast? You have to consider the gem cost for casting the spell as well. If the gem cost is 3 then he canĀ“t use any gems to boost his path level and is thus unable to cast the spell. Another explanation might be that you are facing a weak enemy. If the enemy army is judged too weak compared to your own then your mages will not "waste" gems in that battle.
2: I have no idea. |
Re: Using Gems in Combat and Holding Positions
1) My suspicion is that the AI decided not to waste gems in the battle. If you still have the turn, rerun the battle with debug on, that should give you more info on whay he chose to override the script.
2) Yeah, that's what they do. You could script them to (Hold or Cast)x5, then cast, which will keep them in place briefly. Beyond that there isn't much you can do. Give them bows and let them fire, if you really need them to stay put. |
Re: Using Gems in Combat and Holding Positions
1.) No idea, I think noone really knows that. It could be the AI considered the enemy to weak to waste gems, but sometimes the AI will override spells you have scripted and still waste gems.
Empowerment has nothing to do with it afaik, since I know of cases that worked where spells could only be cast after empowerment. 2.) Try (hold and cast). Or try to let them attack some turns before you cast. |
Re: Using Gems in Combat and Holding Positions
Quote:
Quote:
|
Re: Using Gems in Combat and Holding Positions
He should have been able to cast Flaming Arrows.
There have been other reports of problems with Flaming Arrows in particular. I think one suggestion is that he won't cast if none of the archers are in range yet. You turn on debug by passing a "-d" (or some number of d's. The more the more info) to dom3. I use Linux, so I just run it from the command line. On Windows you can do it from Start->Run, or by editing the properties of a shortcut. The debug output goes to a file called log.txt. It won't interfere with a MP game. You can just watch the battle and it will log the debug info as it recalculates what happens. |
Re: Using Gems in Combat and Holding Positions
Quote:
Here's the debug log info for the mage who was scripted to cast Flaming Arrows as his first spell, but cast Personal Luck instead: Quote:
During the same battle, a similar thing happened to my Astral-3 mage who was scripted to cast Anti-Magic as his first spell. He had astral pearls on him, but didn't cast it. Here's his debug info: Quote:
|
Re: Using Gems in Combat and Holding Positions
What was your opposition?
The "mayusegems" flag should mean the AI is conserving gems because it doesn't think it's worth using them on such a weak enemy. |
Re: Using Gems in Combat and Holding Positions
Quote:
|
Re: Using Gems in Combat and Holding Positions
I think that it was definately a case of "weak enemy". How big was your own army?
|
All times are GMT -4. The time now is 11:04 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.