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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old August 28th, 2008, 02:44 PM
Baalz's Avatar

Baalz Baalz is offline
Major General
 
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
Baalz will become famous soon enough
Default B2 mage can't cast Life for a Life?

Life for a life, requires B3 and 1 blood slave. Why is it my B2 mages refuse to cast it using a second blood slave? Plenty of blood slaves, several valid targets, spell is scripted....why can't they cast it?
Reply With Quote
  #2  
Old August 28th, 2008, 02:59 PM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: B2 mage can't cast Life for a Life?

Quote:
Originally Posted by Baalz View Post
Life for a life, requires B3 and 1 blood slave. Why is it my B2 mages refuse to cast it using a second blood slave? Plenty of blood slaves, several valid targets, spell is scripted....why can't they cast it?
I find that mages often won't cast spells that would give the mage more than 200 fatigue in one shot. Life for a Life is 199 fatigue, and then spellcasting fatigue is added in, so you are looking at more than 200.

People have tried to tell me differently, but my experience with casting Blood and high-path Air spells has shown this to me over and over.
Reply With Quote
  #3  
Old August 28th, 2008, 03:11 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: B2 mage can't cast Life for a Life?

Standard question: What does debug tell you?
Reply With Quote
  #4  
Old August 28th, 2008, 03:28 PM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: B2 mage can't cast Life for a Life?

I did cast Life for a Life with B2 mages many, many times so probably it is specific problem
Reply With Quote
  #5  
Old August 28th, 2008, 03:58 PM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: B2 mage can't cast Life for a Life?

What was your opposition like? The AI, in it's infinite wisdom, might have decided that they didn't need to cast high fatigue spells and so went with low fatigue stuff.
Reply With Quote
  #6  
Old August 28th, 2008, 04:52 PM
Baalz's Avatar

Baalz Baalz is offline
Major General
 
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
Baalz will become famous soon enough
Default Re: B2 mage can't cast Life for a Life?

Demonbred, flying frantically to the front to stop the neverending onslaught of Pythium angels. Yes! I finally got to life for a life and can stop the fire immune slaughter. Set several clever ambushes and catch half a dozen raiding angels (in 4 or so separate battles, 1 or 2 angels per fight. Harbingers and Angels of Fury). No! No! Stop with the damn imps! :/
Reply With Quote
  #7  
Old August 28th, 2008, 05:35 PM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: B2 mage can't cast Life for a Life?

Quote:
Originally Posted by Baalz View Post
Demonbred, flying frantically to the front to stop the neverending onslaught of Pythium angels. Yes! I finally got to life for a life and can stop the fire immune slaughter. Set several clever ambushes and catch half a dozen raiding angels (in 4 or so separate battles, 1 or 2 angels per fight. Harbingers and Angels of Fury). No! No! Stop with the damn imps! :/
Yeh, it sounds like the AI decided that the battle wasn't important enough for high fatigue spells.

I'd bet death gems to donuts that if you had communioned them in a simple two-slave communion you'd have been fine.
Reply With Quote
  #8  
Old August 28th, 2008, 05:38 PM
Baalz's Avatar

Baalz Baalz is offline
Major General
 
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
Baalz will become famous soon enough
Default Re: B2 mage can't cast Life for a Life?

Here's the relevant parts of the debug log. Looks like mayusegems was true, not sure if this is different than the high fatigue eval you're suggesting K.

com Shapash cast spell (favspell Life for a Life) (mayusegems 1)
est. choices 37
.
.
.
Eval: Summon Imp score 477 (fat 50)
comp_castspell: eval Summon Imp result 477
best spell so far Summon Imp (score477)
.
.
.
comp_castspell: eval Life for a Life result -1
.
.
.
castspell: cnr276 spl698 (Summon Imp) vis2 x49 y12 spldmg303

How frustrating!
Reply With Quote
  #9  
Old August 28th, 2008, 06:43 PM

K K is offline
First Lieutenant
 
Join Date: Feb 2007
Posts: 773
Thanks: 2
Thanked 31 Times in 28 Posts
K is on a distinguished road
Default Re: B2 mage can't cast Life for a Life?

I'd be very interested in finding out how the Eval module works. It says "(Fat 50)", so it is making some sort of judgment about fatigue when it looks at Summon Imps (and since it is a B2 casting a B1 spell with 100 fat, the total is fat 50).

I suspect that "mayusegems=1" is a test for whether there are gems in inventory (which is probably an initial test for whether the spell can even be cast since it requires gems).

It doesn't look like it is a test for whether gems SHOULD be used because of weak opposition.
Reply With Quote
  #10  
Old August 29th, 2008, 10:32 AM

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: B2 mage can't cast Life for a Life?

I think mayusegems is the should test. There's something else for not enough gems. And I don't think that test even applies to blood mages? I've never seen blood mages just refuse to cast and all (almost) Blood spells use gems.

The -1 result for Life for a Life looks like what it usually gets when it can't find a valid target. Nothing should be immune and it's range 100, so that shouldn't apply. So it has to mean not high enough level to cast, but that doesn't explain why not to use the second slave?
Reply With Quote
Reply

Bookmarks


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 01:21 PM.


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