Thread: Level requiments.. [PI]

Results 1 to 4 of 4
  1. #1 Level requiments.. [PI] 
    Registered Member rockarocka's Avatar
    Join Date
    May 2010
    Posts
    978
    Thanks given
    27
    Thanks received
    7
    Rep Power
    20
    Hi guys tryed multiple ways still nothing.. Give up meybe you can tell me what's wrong
    In Itemassistant class declared

    Code:
    			case 9753: //defence cape
    			c.defenceLevelReq = 99;
    			return;
    still reqruimnts for cape doesn't work..
    Need help! Thank's
    Reply With Quote  
     

  2. #2  
    Trap God

    Join Date
    Jun 2010
    Age
    28
    Posts
    570
    Thanks given
    27
    Thanks received
    26
    Rep Power
    4
    Your complier works correct?
    "What was done to me was monstrous."
    "And they created a monster."
    Reply With Quote  
     

  3. #3  
    Registered Member rockarocka's Avatar
    Join Date
    May 2010
    Posts
    978
    Thanks given
    27
    Thanks received
    7
    Rep Power
    20
    yes everything compliles smooth..
    Reply With Quote  
     

  4. #4  
    Registered Member
    LunarKnight's Avatar
    Join Date
    Jan 2009
    Age
    32
    Posts
    676
    Thanks given
    7
    Thanks received
    29
    Rep Power
    87
    Is it under??
    Code:
    public void getRequirements(
    Also, you can use this instead of an ID:
    Code:
    		if (itemName.contains("Defence cape")) {
    			c.defenceLevelReq = 99;	
    		}
    (Just make sure it's spelled properly)

    If you're going to use an item ID, look below the same void I posted above, then search for the next:
    Code:
    switch(itemId)
    And right below that is where you put:
    Code:
    case 9753:
    c.defenceLevelReq = 99;
    return;
    Also, are you absolutely sure you're trying to equip the same cape as you set the requirement for?
    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: 6
    Last Post: 10-28-2011, 02:11 PM
  2. Replies: 14
    Last Post: 10-24-2011, 03:26 AM
  3. Replies: 3
    Last Post: 05-09-2011, 02:33 AM
  4. Replies: 8
    Last Post: 02-17-2011, 11:55 PM
  5. D clawz [Requiments]
    By MetalGear in forum Help
    Replies: 2
    Last Post: 03-29-2009, 01:56 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
  •