lol.... post your combat level forumla and why the hell would you want replace runecrafting... replace something stupid like firemaking
|
How do I make the max combat level 138? I am using delta. I want to make it so runecrafting will be like another thing that trains combat and I want to replace runecrafting with summoning so I need to know how to make it do that. If anybody knows how please help me
Thanks.
lol.... post your combat level forumla and why the hell would you want replace runecrafting... replace something stupid like firemaking
The reason is because runecrafting doesnt work
Here it is
Code:public void getCombat() { int j = getLevelForXP(playerXP[playerAttack]); int k = getLevelForXP(playerXP[playerDefence]); int l = getLevelForXP(playerXP[playerStrength]); int i1 = getLevelForXP(playerXP[playerHitpoints]); int j1 = getLevelForXP(playerXP[playerPrayer]); int k1 = getLevelForXP(playerXP[playerRanged]); int l1 = getLevelForXP(playerXP[playerMagic]); combatLevel = (int)(((double)(k + i1) + Math.floor(j1 / 2)) * 0.25D) + 1; double d = (double)(j + l) * 0.32500000000000001D; double d1 = Math.floor((double)k1 * 1.5D) * 0.32500000000000001D; double d2 = Math.floor((double)l1 * 1.5D) * 0.32500000000000001D; if(d >= d1 && d >= d2 && extraCb == 0) { combatLevel += d; } else if(d1 >= d && d1 >= d2 && extraCb == 0) { combatLevel += d1; } else if(d2 >= d && d2 >= d1 && extraCb == 0) { combatLevel += d2; } else if(extraCb > 0) { combatLevel = extraCb; }
beleive thats rightCode:public void getCombat() { int j = getLevelForXP(playerXP[playerAttack]); int k = getLevelForXP(playerXP[playerDefence]); int l = getLevelForXP(playerXP[playerStrength]); int i1 = getLevelForXP(playerXP[playerHitpoints]); int j1 = getLevelForXP(playerXP[playerPrayer]); int k1 = getLevelForXP(playerXP[playerRanged]); int l1 = getLevelForXP(playerXP[playerMagic]); int sm = getLevelForXP(playerXP[playerRunecrafting]); combatLevel = (int)(((double)(k + i1) + Math.floor(j1 / 2) + Math.floor(sm / 2)) * 0.25D) + 1; double d = (double)(j + l) * 0.32500000000000001D; double d1 = Math.floor((double)k1 * 1.5D) * 0.32500000000000001D; double d2 = Math.floor((double)l1 * 1.5D) * 0.32500000000000001D; if(d >= d1 && d >= d2 && extraCb == 0) { combatLevel += d; } else if(d1 >= d && d1 >= d2 && extraCb == 0) { combatLevel += d1; } else if(d2 >= d && d2 >= d1 && extraCb == 0) { combatLevel += d2; } else if(extraCb > 0) { combatLevel = extraCb; }
That goes to combat level 139! But I dont care thank you very much I appreciate your help very much.
Code:combatLevel = (int)(((double)(k + i1) + Math.floor(j1 / 2) + Math.floor(sm / 2)) * 0.25D) + 1;
where it says Math.floor(sm / 2) .. just lower 2 a lil until you get it right like 1.95, 1.9, 1.85 you'll get it right eventually
Thanks again. I really appreciate the help I got it working
no problem
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |