Author Topic: How do I make intelligent clerics, druids, wizards and any pure spellcasting or semi-spellcasting class?  (Read 2307 times)

Legacy_ChaosInTwilight

  • Full Member
  • ***
  • Posts: 126
  • Karma: +0/-0


               

Renton007 wrote...

// For these 2, if neither are set, the AI will choose AOE more if there are
// lots of enemies, or singles if there are not many.
SetSpawnInCondition(AI_FLAG_COMBAT_SINGLE_TARGETING, AI_COMBAT_MASTER);
// For Same-level spells, single target spells are used first.
SetSpawnInCondition(AI_FLAG_COMBAT_MANY_TARGETING, AI_COMBAT_MASTER);
// For Same-level spells, AOE spells are used first.


So you told it to use Both AOE spells, and Non-AOE spells before um...         Non-AOE spells and AOE spells?

If the directions to get somewhere say to turn Both left, and right at the same street..   People will have trouble getting there too.
               
               

               
            

Legacy_Renton007

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-0


               I see where I went wrong with that. This time I only chose one of them: For Same-level spells, AOE spells are used first. In conjunction with: When an enemy comes in 40M, we fast-cast many defensive spells, as if prepared. My cleric still stands there doing nothing.
Oh yeah, did I mention that I made my cleric spawn in a unique encounter?
It's very weird because when she in spawned from the encounter, her buffs are there, but she doesn't do anything.
When I paint her on the map, her buffs aren't there, but she acts properly. You know, casting AoE spells, fighting intelligently. Weird...
               
               

               


                     Modifié par Renton007, 06 août 2010 - 12:56 .
                     
                  


            

Legacy_TSMDude

  • Hero Member
  • *****
  • Posts: 1515
  • Karma: +0/-0


               Does she cast invisible?
               
               

               
            

Legacy_Renton007

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-0


               No, she doesn't. However; I think I've come to a solution. I created a new cleric specializing only in offensive spells. I created a new encounter, and when I went over the trigger she began fighting properly. It turns out those two activations hindered her from acting properly. In case you're wondering, she's a custom vampire cleric. '<img'>

All I did to make her tougher was just to increase her hit points alot, so it takes longer for players to defeat her. I guess I could try increasing her AC too.

Thank you all for your patience with me. I really appreciate it. '<img'>
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0


               I am curious about the discussion above as I ran across the same problem setting up a new summons which can only cast spells. The solution was to set the local int X2_L_BEH_MAGIC with a value between 50 and 100. That ensures that my new celestial summons will primarily cast spells.

Is there a problem with that strategy?