![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			If a dragon is a specific type, I'd like to make a random chance of having a different image. Here is what I have so far.... 
		
		
		
		
		
		
			
		
		
		
		
		
	
	Code: 
	
	    $altchance = rand(0,100);
            if ($altchance <= "100" && $type == "Bastet Dragon"){
            $imageurl = "http://taleofdragons.net/picuploads/png/043e9d1f2e854bb57fce31e1179a2449.png";}
 | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Breeding Bug? Need help :) | Missy Master | Questions and Supports | 7 | 08-14-2014 03:29 PM | 
| Random breeding outcome/ rare breeding | SilverDragonTears | Questions and Supports | 0 | 03-25-2012 03:33 AM | 
| breeding | Ruffsta | Feedback and Suggestions | 3 | 06-06-2011 05:09 PM | 
| No breeding | RoconzaArt | Questions and Supports | 15 | 01-24-2011 03:48 PM | 
| Breeding | Arianna | Questions and Supports | 27 | 10-30-2009 02:12 PM | 
						What's New? | 
					
						What's Hot? | 
					
						What's Popular? |