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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old August 23rd, 2010, 09:30 PM

mockingbird mockingbird is offline
Sergeant
 
Join Date: Jul 2010
Posts: 221
Thanks: 2
Thanked 2 Times in 2 Posts
mockingbird is on a distinguished road
Default Reinvigoration question

I have been having problems getting communion masters to cast Reinvigoration. I suspect it is because they themselves are not very fatigued compared to their slaves. Does anyone have good insight into what factors control the AI's decision to cast or not cast Reivigoration? Does anyone know how I can script a communion to make sure that it happens?

Thank you very much for your assistance.

Last edited by mockingbird; August 23rd, 2010 at 09:31 PM.. Reason: Typo
Reply With Quote
  #2  
Old August 24th, 2010, 11:00 AM
Fantomen's Avatar

Fantomen Fantomen is offline
Major
 
Join Date: Feb 2009
Location: Me a viking
Posts: 1,012
Thanks: 81
Thanked 122 Times in 73 Posts
Fantomen is on a distinguished road
Default Re: Reinvigoration question

If there is a certain amount of fatigue required you could solve it by using fewer slaves, or heavier spells cast by the master before. Of course you need to make sure there are blood slaves for him to use also, you didn't simply forget to give him blood slaves did you?
Reply With Quote
  #3  
Old August 24th, 2010, 11:57 AM

mockingbird mockingbird is offline
Sergeant
 
Join Date: Jul 2010
Posts: 221
Thanks: 2
Thanked 2 Times in 2 Posts
mockingbird is on a distinguished road
Default Re: Reinvigoration question

Yes, I'm sure he had blood slaves.

Sometimes it works, sometimes it doesn't. I'm trying to see if anyone has a deeper understanding of the AI decision-making process with regard to this spell.
Reply With Quote
  #4  
Old August 25th, 2010, 08:19 AM

fantasma fantasma is offline
Corporal
 
Join Date: Feb 2008
Posts: 150
Thanks: 0
Thanked 10 Times in 9 Posts
fantasma is on a distinguished road
Default Re: Reinvigoration question

look at the debug output viewing the battle. Run dominions in a terminal with -dd or so, more d's = more output. It says why the AI chose the spell (or not), well not exactly, but it gives hints.

I did this some time ago because it cast antimagic instead of master enslave, (antimagic was scripted by the next master to also effect the acquired units). The system works by assigning points to each spell, giving bonus for being scripted, number of targets affected, malus for excessive fatigue, etc. It simply ended with a lower number for master enslave than antimagic. My own army was too big compared to his, I guess.

You have to look what it says for you.
Reply With Quote
  #5  
Old August 25th, 2010, 12:09 PM

mockingbird mockingbird is offline
Sergeant
 
Join Date: Jul 2010
Posts: 221
Thanks: 2
Thanked 2 Times in 2 Posts
mockingbird is on a distinguished road
Default Re: Reinvigoration question

Thank you, that was very useful. I will take a look and see what I can figure out from the debugging information.
Reply With Quote
  #6  
Old August 25th, 2010, 02:40 PM
Fantomen's Avatar

Fantomen Fantomen is offline
Major
 
Join Date: Feb 2009
Location: Me a viking
Posts: 1,012
Thanks: 81
Thanked 122 Times in 73 Posts
Fantomen is on a distinguished road
Default Re: Reinvigoration question

Could be that your enemy was too weak compared to you? So that the mage don't want to use the slave?
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 04:48 AM.


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