|
|
|
|
November 12th, 2007, 10:24 PM
|
|
Corporal
|
|
Join Date: Oct 2007
Location: Taipei, Taiwan
Posts: 116
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Spell usage for melee units with magic
I have been playing with the Yomi recently and I have been a bit confused as to the Dai Oni's lack of spell usage when not scripted.
For example, in a recent battle, one of my Dai Oni was in the midst of battle and had taken quite a bit of damage. I would assume, in the next round, it would have cast a spell, such as Soul Vortex or Drain Life (both were researched), but, instead, it just attacked again. The Dai Oni's fatigue was only at around 18. The Dai Oni's command was set to "attack closest."
So, my question is, is there any way, outside of scripting (since that would be very limiting, at 5 maximum scripts, for an attacking Dai Oni), to have a unit attack and use spells. Or do units set to attack cast spells automatically, if they can, and this was just one of those times the AI decided to attack rather than cast a spell?
Thanks for your help.
P.S. I apologize if this is a repeat of another posting. I searched but could not find another posting of a similar type.
|
November 12th, 2007, 10:36 PM
|
Lieutenant Colonel
|
|
Join Date: May 2007
Posts: 1,355
Thanks: 0
Thanked 5 Times in 4 Posts
|
|
Re: Spell usage for melee units with magic
I'm afraid not. Once you script attack closest, it stays till the end of battle. You could script nothing after your last spell, but you're going to cast more spells.
|
November 13th, 2007, 12:59 AM
|
Second Lieutenant
|
|
Join Date: Sep 2007
Posts: 525
Thanks: 17
Thanked 17 Times in 10 Posts
|
|
Re: Spell usage for melee units with magic
AI is too stupid to do what you want. If you let it attack, it will not cast spells under any circumstances. If you do not give it orders, it will cast (presumably stupid) spells but not attack.
|
November 13th, 2007, 01:44 AM
|
Captain
|
|
Join Date: May 2004
Posts: 947
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Spell usage for melee units with magic
Usually this isn't so much a big deal, at least for me, though.. because you either want your guy casting a few buffs and then attacking for the rest of the time, or you want him to sit back and cast the whole time. I guess maybe for a few cases I can see wanting to attack, then cast, then attack.
It would be cool if we could script out like 10 commands in a row, but normally for me 5 is enough.
|
November 13th, 2007, 03:59 AM
|
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Winnipeg, Canada
Posts: 566
Thanks: 8
Thanked 9 Times in 7 Posts
|
|
Re: Spell usage for melee units with magic
Don't script the final, continuous order. The combatant will randomly attack or cast spells, which can be amusing to watch.
|
November 13th, 2007, 04:52 AM
|
|
Sergeant
|
|
Join Date: Apr 2007
Location: Texas/Ohio
Posts: 363
Thanks: 11
Thanked 72 Times in 21 Posts
|
|
Re: Spell usage for melee units with magic
Quote:
Sir_Dr_D said:
Don't script the final, continuous order. The combatant will randomly attack or cast spells, which can be amusing to watch.
|
I think it will default to spell casting though, unless he's adjacent to an opponent.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|