Re: Bug thread
I'm going to resurrect the complaint about Astral Shield overriding scripts for powerful Astral mages, mostly because a) it happened to me, and b) I ran debug and got some data.
E3S6D2N2 pretender scripted to start with Summon Earthpower.
Casts Astral shield instead.
Here's the relevant debug info:
com Sigbert cast spell (favspell Summon Earthpower) (mayusegems 1)
est. choices 80
<snip>
spellscore, Summon Earthpower score 265 (boost 110 scorat 0)
Eval: Summon Earthpower score 265 (fat 10)
comp_castspell: eval Summon Earthpower result 265
best spell so far Summon Earthpower (score100265)
<snip>
spellscore, Astral Shield score 95766 (boost 114 scorat 0)
Eval: Astral Shield score 102974 (fat 3)
comp_castspell: eval Astral Shield result 102974
best spell so far Astral Shield (score102974)
So it looks like there's a 100,000 bonus for a spell being scripted, but Astral Shield gets an incredible base score.
I'm not sure why the final number is bumped up, by 7000+, from the initial spellscore. (Hmmm, some others are reduced maybe based on fatigue?)
Summon Earthpower has a very low base, which I'd disagree with, but Astral shield is ridiculous. Only two other spells even rate above 10,000, much less have a chance at overriding the script.
Ironskin: 14283
Invulnerability: 47456
Body Ethereal, which I'd much rather have than the Shield only rates 5227
Personal Luck, which I'd also rather have as a buff, isn't even checked: comp_castspell: No eval Personal Luck, choices 80
I guess I just can't see why Astral Shield is so high. If it's multiplied because he had S6, then the multiplier is just too high.
If it is rated higher for being earlier in the battle, hopefully, I can adjust the order so that Earthpower isn't overridden. Other buffs get high enough ratings that with favspell boost, they'll get cast.
|