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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 12th, 2010, 03:12 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: Battlefield Spell-scripting bug?

As I suggested above, this was most likely a case of the AI deciding not to waste gems on a weak enemy.
This is usually a good thing. It prevents a huge late game army from mindlessly following its script and burning through dozens of gems when attacked by a single scout. Especially important when you're storming a castle later that turn.

It's very rare these days, for the AI to override a script if the spell could be cast effectively. Not using gems is the main exception. Otherwise it will usually only override if there isn't a valid target in range.
To use Gandalf's terminology, if the pretender said "cast Frozen Heart", I've never seen that overridden by line of sight or unit type etc. The spell has a range limit. If there is an enemy unit who isn't 100% CR within range, the mage will follow the order.

There used to be a few spells that were bugged and would get priority over even scripted spells, Astral Shield and Arrow Fend, possibly others. Those have been fixed and I haven't seen reports of similar problems in awhile.
Reply With Quote
  #2  
Old November 12th, 2010, 04:44 PM

MrSafin MrSafin is offline
Private
 
Join Date: Aug 2010
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
MrSafin is on a distinguished road
Default Re: Battlefield Spell-scripting bug?

Ok, I guess that answers my question. By the way, my Ermor mage (I don't really recall the name...) is a F1 and a level 1 priest, so he ignored my spell and casted spells like Blessings and such!

Anyway, I'm satisfacted... I like the idea of some amount of randomness in my battles
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 07:29 AM.


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