.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

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old May 26th, 2008, 04:35 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Modded spells and AI

I wasn't testing this, but I realized that this is the list of all spells available for independent casters. A lowly Priest went though these spells when he tried to decide what to cast.

Holy

Banishment
Blessing
Sermon of Courage
Smite Demon
Holy Avenger
Divine Blessing
Smite
Fanaticism
Word of Power


Fire

Fire Flies
Combustion
Flame Bolt
Flare

Water

Freezing Touch
Slime
Cold Bolt
Numbness
Water Strike

Astral

Twist Fate
Star Fires
Mind Burn

Air

Air Shield
False Fetters
Lightning Bolt

Earth

Earth Might
Earth Grip
Fists of Iron

Nature

Sleep Touch
Vine Arrow
Sleep Cloud

Death
Hand of Dust
Animate Skeleton
Raise Dead
Raise Skeletons

Blood

Bleed
Summon Imp
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 06:30 AM.


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