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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 21st, 2008, 06:41 PM
Twan's Avatar

Twan Twan is offline
Captain
 
Join Date: Sep 2004
Location: France
Posts: 961
Thanks: 2
Thanked 12 Times in 8 Posts
Twan is on a distinguished road
Default Modded spells and AI

My impression is : modded buffs get an huge priority, and the AI doesn't recognize them as non cumulative.

(ie : I've made a spell using legion of steel + barkskin + resist fire + cold aura effects* all being non cumulative, and the AI often chain cast it several times on the same mage for no additionnal result ; or use the component spells in addition)

Personnal spell made mass buff spells may also be affected (or it's perhaps just a result of one or two units to affect ; also a problem with non modded spells). AI casted several time the "Mass Glamour" spell I've made to replace MoD** in my test, just to give mirror images to one or two units who lost them.

Perhaps (I hope) there is something (still undocumented / not discovered) to add in the #spec field to make the AI recognize a spell as a "one time only" effect or reduce the priority it gets ?

If not I have a suggestion : make any modded spell using effect 10 or 23 (buff) "cast only if scripted" by default.
It's sad to see some of the rich possibilities in magic modding unexploitable because they make the AI dumber (now as buff effects weren't documented in modding.pdf, new buff spells aren't supposed to work well, but it would be cool if possible).

*
#newspell
#name "Armor of Ice"
#effect 10
#damage 9296
#descr "This spell creates a temporary armor of ice, giving the caster increased protection and a cold aura. The armor of ice will adapt its shape to complete any existing armor and is especially efficient if the mage already wear one. This armor also offers a slightly increased resistance against fire."
#researchlevel 0
#school 3
#path 0 2
#pathlevel 0 3
#fatiguecost 40
#aoe 0
#range 0
#precision 100
#nreff 1
#flyspr 10012
#end

**
#selectspell "Mists of Deception"
#copyspell "Mirror Image"
#pathlevel 0 6
#researchlevel 8
#fatiguecost 400
#name "Mist of Mass Glamour"
#aoe 666
#spec 4194304
#descr "Gives mirror images to all your warriors on the battlefield."
#end
Reply With Quote
 

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 10:26 AM.


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