| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 07:30 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Lieutenant Colonel 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2004 
					
					
					
						Posts: 1,276
					 
					 
	Thanks: 0 
	
		
			
				Thanked 2 Times in 2 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Reasons why the computer will not cast the spells you script
	
			 
             
			
		
		
		
		I have often noticed that some of my favorite scripts (power of the spheres, phoenix power, flame arrows, wind guide) do not get cast but rather astral shield followed by something I dont want DESPITE the fact that the commander definately has enough gems on him. So what reasons could there be in those cases? 
 
Since my searches on this topic turned up either inconsistancies, I thought I would start a thread here and hope people would add. 
 
To my knowledge, the tactical AI spellcasting will not cast your scripted spells if they are 
- impossible to cast (e.g. underwated/land conflict) 
- you dont have enough gems 
- if you scripted Quickness, your following spells might get replaced by some random spell you get from extra "quickness" spell (I think??) 
- there is no appropriate target (in range)?? (is this right)? 
- when else? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 07:49 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Aug 2000 
					Location: Mountain View, CA 
					
					
						Posts: 2,162
					 
					 
	Thanks: 2 
	
		
			
				Thanked 4 Times in 4 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		It may also ignore your gem-burning spells if it believes that the opposition doesn't merit it.  It's unlikely to cast Master Enslave on a single Call of the Winds strike, say. 
		
	
		
		
		
		
		
		
			
				__________________ 
				Are we insane yet?  Are we insane yet?   Aiiieeeeee...
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 08:01 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Private 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2004 
					
					
					
						Posts: 27
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		Hmph. I'd prefer a "I Mean It!" option or something that casts the spells regardless of opposition. I'd rather burn a few gems than lose a spellcaster because he thought the opposition was weak. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 08:04 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Corporal 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2004 
					Location: San Diego, CA 
					
					
						Posts: 89
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		The AI doesn't seem to want to cast redundant spells in SOME cases.  I can't get it to cast Aim after Wind Guide is active.  But that doesn't seem to apply to the whole casting *foo* resistance even though the target already has greater *foo* resistance than the spell can provide. 
 
 
  
 [ March 05, 2004, 18:15: Message edited by: Demosthenes ] 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 08:35 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 1999 
					
					
					
						Posts: 8,806
					 
					 
	Thanks: 54 
	
		
			
				Thanked 33 Times in 31 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		No target in range is definite a reason. Another seems to be "Hey look, bloodslaves! Fun!".       
PvK  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 08:36 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 1999 
					
					
					
						Posts: 8,806
					 
					 
	Thanks: 54 
	
		
			
				Thanked 33 Times in 31 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		Oh, another is - "I used the gems that spell needs, to save myself fatigue when casting an earlier spell." 
 
PvK 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 6th, 2004, 11:13 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Lieutenant Colonel 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2004 
					
					
					
						Posts: 1,276
					 
					 
	Thanks: 0 
	
		
			
				Thanked 2 Times in 2 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		Yes. 
 
I wonder how the "doesnt merit it" is calculated. In the example in my original strat, I was storming a castle in which the enemy's pretender was sitting, a Titan surrounded by a few ( but only a few) beefy units. It seems the computer calculates numbers, not power. I had tons of gems, I really wanted to make sure nothing got screwed up -- and I *think* that because flaming arrow, antimagic, wind guide, arrow fend (I think it was a hill fortress and there wwere tons of javs coming at me) were not cast as I had scripted I got hurt badly (many troops but also prophet and 1 other nice general died) when I should have taken only minimal cannon fodder losses. Kind of dissapointed in that, it really makes me think: ah, great planning here by me muhahah -- argh but what for!? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 6th, 2004, 01:06 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Lieutenant Colonel 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2003 
					Location: Gilbert, AZ 
					
					
						Posts: 1,375
					 
					 
	Thanks: 1 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		untits with quickness just go through thier script twice as fast, they don't randomly pick a spell for the extra action. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 6th, 2004, 03:54 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2004 
					Location: twilight zone 
					
					
						Posts: 2,247
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Originally posted by Argitoth: 
 untits with quickness just go through thier script twice as fast, they don't randomly pick a spell for the extra action. 
			
		 | 
	 
	 
 Actually, they sometimes do. I have seen a mage do: Pick 1, Random, Pick 2, Pick 3, Pick 4, Random, Pick 5. I've also seen other combos. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 6th, 2004, 06:04 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Second Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2003 
					
					
					
						Posts: 404
					 
					 
	Thanks: 0 
	
		
			Thanked 1 Time in 1 Post
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Reasons why the computer will not cast the spells you script
			 
             
			
		
		
		
		Maybe the gem-saving ai should be disabled when storming a castle, since castles are sometimes defended by a small number of very strong mages and your huge army cant get at them because of the walls. The gem-saving ai is great to avoid wasting gems on small battles, but the storming of a castle is often carefully planned. 
 
Any bad things about the idea? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		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 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |