Thread: You don't have the required special energy??/

Results 1 to 4 of 4
  1. #1 You don't have the required special energy??/ 
    Registered Member
    Join Date
    Jan 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I'm not sure why but all of a sudden when i try to use a ddp, ddp++, d long, and other random spec weapons they say you don't have required special energy. They say this even when i do ::infspec. Im pretty confused help anyone???
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    anyone know why???
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,830
    Thanks given
    893
    Thanks received
    1,439
    Discord
    View profile
    Rep Power
    2924
    Code:
    public boolean checkSpecAmount(int weapon) {
    	if(c.playerEquipment[c.playerRing] == 19669)
    {
    c.specAmount += c.specAmount*0.1;
    }
    		switch(weapon) {
    			case 1249:
    			case 1215:
    			case 1231:
    			case 5680:
    			case 5698:
    			case 1305:
    			case 1434:
    			case 13899:
    			case 13901:
    			if(c.specAmount >= 2.5) {
    				c.specAmount -= 2.5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    			return false;
    			
    
    			
    
    			case 4151:
    			case 15441: // whip
    			case 15442: // whip
    			case 15443: // whip
    			case 15444: // whip
               		case 11694:
    			case 14484:
    			case 11698:
    			case 4153:
    			case 13902:
    			case 13904:
    			case 13905: 
    			case 13907:
    			case 13883: 
    			case 13879: 			
                            case 10887:
    			case 15241:
    			if(c.specAmount >= 5) {
    				c.specAmount -= 5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    			return false;
    			
    			case 3204:
    			if(c.specAmount >= 3) {
    				c.specAmount -= 3;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    			return false;
    			
    			case 1377:
    			case 11696:
    			case 15486: 
    			if(c.specAmount >= 10) {
    				c.specAmount -= 10;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    			return false;
    			case 4587:
    			case 859:
    			case 15701: // dark bow	
    		case 15702: // dark bow	
    		case 15703: // dark bow	
    		case 15704: // dark bow	
    			case 11235:
    			case 11700:
    			case 11730:
    			case 19780: 
    			case 861:
    			if(c.specAmount >= 5.5) {
    				c.specAmount -= 5.5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    			return false;
    
    			
    			default:
    			return true; // incase u want to test a weapon
    		}
    	}
    Make sure they are in this method.
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    thanks man so much your a life saver
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 12
    Last Post: 11-24-2016, 04:28 PM
  2. Getting special energy to save.
    By Snow Cat123 in forum Help
    Replies: 0
    Last Post: 07-22-2011, 09:54 PM
  3. 508/525 Energy & super energy potion
    By Huztler in forum Tutorials
    Replies: 2
    Last Post: 02-17-2011, 03:27 PM
  4. Replies: 5
    Last Post: 08-26-2010, 12:51 PM
  5. Replies: 13
    Last Post: 07-08-2009, 03:10 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •