View Single Post
  #2181  
Old October 16th, 2008, 12:09 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: Bug Thread: Discussion

I've got a Skratti thug refusing to cast Breath of Winter.
He's scripted to Quicken Self, Breath of Winter, attack
Several others cast it without problem.
He either casts something else or just closes to attack.
The main difference is that I've given him Lifelong Protection. Is it possible he's refusing to cast because of the imps?
I think there was a change in BoW behavior to avoid casting it unscripted, since it would often wipe out other nearby mages, but I'd hope that wouldn't override a scripted order.

Here's the relevant bits from the debug log:
com Fafner cast spell (favspell Breath of Winter) (mayusegems 1)
est. choices 15

BOW before 17
best Area10 cold dmg3 this far, 6 16 (-66 pnts)
spellscore, Area10 cold dmg3 score -66 (boost 104 scorat 0)
BOW after -49
spellscore, Breath of Winter score -49 (boost 115 scorat 0)
Eval: Breath of Winter score 0 (fat 20)
comp_castspell: eval Breath of Winter result 0


It gets a negative score, presumably due to hurting the imps?
It doesn't add in the favspell bonus, which seems wrong to me.
Reply With Quote