CombatAssistant.Java.
|
|
Hello guys
I'm kinda new to Coding, and i have a question:
How do i increase the powers of weapons? like d claw specs or VLS SPEC?

case 15027:
c.gfx0(1950);
c.startAnimation(10961);
c.specAccuracy = 320.0;
c.clawDamage = 0;
if (c.playerIndex > 0) {
Client o = (Client) Server.playerHandler.players[c.playerIndex];
if (Misc.random(calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence()) ) {
c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc.random(4));
}
c.clawIndex = c.playerIndex;
c.clawType = 1;
} else if (c.npcIndex > 0) {
NPC n = Server.npcHandler.npcs[c.npcIndex];
if (Misc.random(calculateMeleeAttack()) > Misc.random(n.defence)) {
c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc.random(2));
}
c.clawIndex = c.npcIndex;
c.clawType = 2;
}
c.doubleHit = true;
c.usingClaws = true;
c.specEffect = 5;
c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquip ment[c.playerWeapon]).toLowerCase());
break;
NOW WHERE DO I CHANGE IT???
| « whats the command to teleport to with coords | Weird text in interface » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |