Thread: Fixing 667 Combat Lvl.

Results 1 to 3 of 3
  1. #1 Fixing 667 Combat Lvl. 
    DevastationX
    GotToFlow's Avatar
    Join Date
    Mar 2016
    Posts
    10
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    R-S Admin Response  How to Fix the 667 Combat Level
    ok, so someone asked me how to fix combat level because a "maxed" was set to 133 combat level.
    which should be a 138.


    Step 1:
    go into your Skills.java

    Step 2. Look for "getcombat"

    Make sure these numbers are set to the following.

    Spoiler for Click to view code:
    int combatLevel = 3;
    combatLevel = (int) ((defence + hp + Math.floor(prayer / 2)) * 0.25) + 1;
    double melee = (attack + strength) * 0.325;
    double ranger = Math.floor(ranged * 1.5) * 0.325;
    double mage = Math.floor(magic * 1.5) * 0.325;
    if (melee >= ranger && melee >= mage) {
    combatLevel += melee;
    } else if (ranger >= melee && ranger >= mage) {
    combatLevel += ranger;
    } else if (mage >= melee && mage >= ranger) {
    combatLevel += mage;
    }
    return combatLevel;
    }





    maybe someone already showed how to fix but, i was unable to find.



    Any questions just let me know.


    .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2015
    Age
    28
    Posts
    210
    Thanks given
    2
    Thanks received
    53
    Rep Power
    2
    I've never run into a source that had an error with this, but I guess it could be helpful? Even though it's in 99.9% of every source that's been released?
    Attached image
    Reply With Quote  
     

  3. #3  
    Banned Fixing 667 Combat Lvl. Market Banned

    Join Date
    Apr 2013
    Posts
    162
    Thanks given
    23
    Thanks received
    45
    Rep Power
    0
    very simple.
    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. [Need Assistance] 667 Combat Fix
    By Swan in forum Help
    Replies: 2
    Last Post: 04-16-2015, 05:32 PM
  2. How to make combat lvl 138
    By Samsterz in forum Tutorials
    Replies: 24
    Last Post: 05-05-2009, 08:36 PM
  3. adding new skills to calc. combat lvl
    By mige5 in forum Help
    Replies: 3
    Last Post: 03-03-2009, 01:06 PM
  4. [tut]fix Npc combat in project duke
    By Richard1992 in forum Tutorials
    Replies: 28
    Last Post: 08-23-2008, 10:48 AM
  5. Fixing the Combat Equation / Modding it.
    By MopTop in forum Tutorials
    Replies: 17
    Last Post: 08-18-2008, 07:38 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •