|
|
|
 |

March 20th, 2008, 05:17 PM
|
 |
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
Re: Open debug logs
Oh I have a further question but was one may be more complicated.
So I script a mage to communion slave and then mind burnX4.
In first round he casts C.S. alright but in second round he casts body ethereal instead of mind burn and this is the debug section:
com Test1 cast spell (favspell Mind Burn) (mayusegems 0)
est. choices 27
best spell so far Twist Fate (score52)
best spell so far Healing Light (score113)
best spell so far Barkskin (score131)
best spell so far Personal Luck (score209)
best spell so far Protection (score227)
best spell so far Body Ethereal (score421)
castspell: cnr117 spl355 (Body Ethereal) vis0 x10 y23 spldmg134217728
Any idea why overrides script?
|

March 20th, 2008, 05:34 PM
|
General
|
|
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
|
|
Re: Open debug logs
The short answer is, because it got a better score, but that doesn't actually mean anything.
As I understand it, and I was just looking at this for the Astral Shield nonsense, a scripted spell -- favspell, gets a 100000 bonus to its score. That should have been enough to override Body Ethereal. The only reason I can think of is that it had some huge penalty, or simply couldn't be cast.
Did Mind Burn show up in the log at all?
Take a look with more levels of debug. -ddd gives a lot.
|

March 20th, 2008, 06:12 PM
|
 |
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
Re: Open debug logs
you're right, mind burn wasn't cast at all, not even once.
I think the game engine categorized it as non applicable for some unknown reason. I base it on the following line:
comp_castspell: eval Mind Burn result -1
Now since the foe in this battle wasn't mindless I don't understand why but I think I'll give it a rest at that. Its enough for me to know that for some reason the engine dislikes mind burn in this situation so I'll avoid scripting it.
|

March 20th, 2008, 06:39 PM
|
General
|
|
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
|
|
Re: Open debug logs
Oh, obvious question? They were S2 slaves, right?
result -1 seemed to come up for spells I didn't have the paths for.
|

March 20th, 2008, 06:47 PM
|
 |
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
Re: Open debug logs
They were part of communion of 30 or so shamans. The slaves should have been at astral 5 or something, at least according to the communion guide by Baalz, or maybe I got it all backwards 
|

March 20th, 2008, 06:59 PM
|
General
|
|
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
|
|
Re: Open debug logs
No, only the communion masters actually get levels for casting spells of their own. Slaves get pseudo levels, that are only used for absorbing the master's fatigue.
Slaves do get the benefit of the master's caster effect spells, so having a master cast Power of the Spheres is a cheap way to boost all the slaves up one level in everything.
|

March 20th, 2008, 07:18 PM
|
 |
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
Re: Open debug logs
Oh, I understand. Thank you for your patience thejeff.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|