Thread: Why off script?
View Single Post
  #5  
Old April 7th, 2010, 07:39 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Why off script?

Quote:
Originally Posted by thejeff View Post
I don't think the AI is smart enough to recognize no archers. It probably just decided the enemy was too weak to waste gems on.

As said, the enemy was probably just out of range for Orb Lightning.
+1

Generally, reasons for going oft script:

1. Enemy force is not a sufficient threat to waste gems
2. Spell will put caster over fatigue 100
3. Insufficient gems (perhaps for blowing extra gems earlier)
4. No targets in range.
5. too much collateral damage (too many friendlies affected)
6. The ai really thinks it can do a better job with something else.
7. Insufficient paths to cast the spell. Communion didn't get off due to death of slaves, pots didn't get off etc.

Essentially looking at the log, whatever you script has a weighting bonus. The computer looks at all castable spells,
and weighs them. It does a pretty good job on direct damage spells, pretty arbitrary on others.

things that excessively fatigue you will get a penalty, as will gem use.

Spell with the best results is cast.
Reply With Quote