Thread: XP

Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1 XP 
    L 0 V 3 BKz
    Guest
    What the subtractxp code like.

    for :: pure its addskillxp, but whats the code to subtract it, say i wanna add a :resetdef command that will reset a players defence to 1, what would it be, its not
    addskillxp
    Reply With Quote  
     

  2. #2  
    Registered Member
    Mrthunder23's Avatar
    Join Date
    Mar 2008
    Age
    29
    Posts
    2,463
    Thanks given
    62
    Thanks received
    72
    Rep Power
    319
    Start by using the code to add it. And reverse it.
    Reply With Quote  
     

  3. #3  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    playerLevel[1] = 1;
    playerXP[1] = 0;

    Attached image

    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Code:
    		if (command.equalsIgnoreCase("Hi")) {
    			playerXP[1] = 0;
    			playerLevel[1] = 1;
    		}
    I guess.

    o s quare beat me
    Reply With Quote  
     

  5. #5  
    L 0 V 3 BKz
    Guest
    ^ didnt work.
    Reply With Quote  
     

  6. #6  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    You may have to refresh your stats after doing it

    Attached image

    Reply With Quote  
     

  7. #7  
    L 0 V 3 BKz
    Guest
    would you also happen to know how to make it where players ahve quests done when they start.
    and they dont have to do them?
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Search your initialize method, and add something like:
    Code:
    Quest1 = finishInteger;
    Reply With Quote  
     

  9. #9  
    L 0 V 3 BKz
    Guest
    Client?
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Yes.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •