Thread: [562]Double Experience Ring

Results 1 to 6 of 6
  1. #1 [562]Double Experience Ring 
    Banned

    Join Date
    May 2010
    Age
    25
    Posts
    1,023
    Thanks given
    199
    Thanks received
    87
    Rep Power
    0
    Meh was bored.

    anyways, declare this
    Code:
    public boolean hasRingEquipped() {
            return getEquipment().get(12) != null && getEquipment().get(12).getDefinition().getId() == 773;
        }
    Then find your addhitexp method, and under
    Code:
    } else if (getEquipment().getAttStyle().equals("Shared")) {
    add
    Code:
    if (p.hasRingEquipped() == true) {
                    p.getSkills().addXp(Skills.ATTACK, hit * 2);
                    p.getSkills().addXp(Skills.DEFENCE, hit * 2);
                    p.getSkills().addXp(Skills.STRENGTH, hit * 2);
                    p.getSkills().addXp(Skills.HITPOINTS, hit * 2);
                }
    then under
    Code:
    } else if (getEquipment().getAttStyle().equals("RangedDefence")) {
    add
    Code:
    if (p.hasRingEquipped() == true) {
                    p.getSkills().addXp(Skills.DEFENCE, exp * 2);
                    p.getSkills().addXp(Skills.RANGE, exp * 2);
                    p.getSkills().addXp(Skills.HITPOINTS, hpExp * 2);
                }
    Alright have fun, ring id is 773 the 'perfect' ring. Can be changed tho.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Emily's Avatar
    Join Date
    Jul 2010
    Age
    27
    Posts
    623
    Thanks given
    67
    Thanks received
    215
    Rep Power
    271
    Nice, but simple.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jun 2010
    Age
    33
    Posts
    4,337
    Thanks given
    4
    Thanks received
    274
    Rep Power
    0
    Nice Taunted.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    255
    Rep Power
    445
    A better idea is to use the wildy combat gloves. Since there is one for almost all skills.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    May 2010
    Age
    25
    Posts
    1,023
    Thanks given
    199
    Thanks received
    87
    Rep Power
    0
    Quote Originally Posted by bando View Post
    A better idea is to use the wildy combat gloves. Since there is one for almost all skills.
    Brawling gloves or whatever?
    Reply With Quote  
     

  6. #6  
    Member

    Join Date
    Nov 2010
    Posts
    491
    Thanks given
    396
    Thanks received
    224
    Rep Power
    0
    Quote Originally Posted by xTaunted View Post
    Brawling gloves or whatever?
    Yes Brawling gloves.
    -removed
    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. [602]Experience
    By Dynamite in forum Projects
    Replies: 32
    Last Post: 07-11-2010, 12:12 PM
  2. [RJ] Experience Rates.
    By Inside Sin in forum Tutorials
    Replies: 12
    Last Post: 10-28-2008, 07:20 PM
  3. Linux........ Anyone have any experience?
    By LAMT in forum Software
    Replies: 2
    Last Post: 07-07-2008, 01:19 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
  •