Go to combatassistant.java and search for the maxhit then you can increase it to what you want.
|
Okay, so I want to make my Crystal Bow hit higher, but I've already changed the max hit formula for Ranged, and I don't want to edit my item's stats so it gives like a 300 range bonus. I basically wanna know how to add a multiplier to the hit. How would I go doing that?
Go to combatassistant.java and search for the maxhit then you can increase it to what you want.
where exactly in this would I change it?
Code:public int rangeMaxHit() { int a = c.playerLevel[4]; int d = getRangeStr(c.usingBow ? c.lastArrowUsed : c.lastWeaponUsed); double b = 1.00; if (c.prayerActive[3]) { b *= 1.05; } else if (c.prayerActive[11]) { b *= 1.10; } else if (c.prayerActive[19]) { b *= 1.15; } if (c.fullVoidRange()) { b *= 1.20; } double e = Math.floor(a * b); if(c.fightMode == 0) { e = (e + 3.0); } double darkbow = 1.0; if(c.usingSpecial) { if(c.playerEquipment[3] == 11235) { if(c.lastArrowUsed == 11212) { darkbow = 1.5; } else { darkbow = 1.3; } } } double max = (1.3 + e/10 + d/80 + e*d/640) * darkbow; return (int) Math.floor(max); }
Thats your dark bow look for your crystal bow, code is 4214
The only thing I have of Crystal Bow is: Degrading to lower level of Crystal Bow, what anim/gfx it uses, and if it uses arrows, nothing like the DBow.
/Fixed.
brutally how did u fix it can you tell me were please?
hey do i change this for the better hit
} else if (weapon == 4212) {//Z Bow
rangehit = 7;
rangehit += c.playerLevel[4] / 0;
sorry for double
Code:rangemaxhit if(c.playerEquipment[c.playerWeapon] == BLABLA) { b *= bla; }
thanks mate you helped allot =]
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |