Okay, kevin. I know you use fishing potions for overloads... Remember when we tried making it lower hp/add skills at same time and shiz. it didnt work?
I got it to work.... The hit's goto 45hp add this in ItemPacketHandler.java
case 2438:
player.getInventory().deleteItem(2438, 1);
player.getInventory().addItem(151,1);
case 151:
player.getInventory().deleteItem(151, 1);
player.getInventory().addItem(153,1);
case 153:
player.getInventory().deleteItem(153, 1);
player.getInventory().addItem(155,1);
case 155:
if (player.potDelay == 0) {
player.getInventory().deleteItem(itemId, 1);
if (itemId != 2438) {
} else {
player.getInventory().addItem(229,1);
}
int abc = (int) ((player.getSkills().getLevelForXp(1)/25) + 25);
int cbc = (int) ((player.getSkills().getLevelForXp(0)/25) + 25);
int bbc = (int) ((player.getSkills().getLevelForXp(2)/25) + 25);
int deg = (int) ((player.getSkills().getLevelForXp(4)/25) + 25);
int mag = (int) ((player.getSkills().getLevelForXp(6)/25) + 25);
player.getSkills().BoostDefence(abc);
player.getSkills().BoostAttack(cbc);
player.getSkills().BoostStrength(bbc);
player.getSkills().BoostRanged(deg);
player.getSkills().BoostMagic(mag);
player.animate(1301, 0);
player.animate(7299, 0);
player.hit(4);
player.animate(1301, 0);
player.animate(7299, 0);
player.hit(10);
player.animate(1301, 0);
player.animate(7299, 0);
player.hit(5);
player.animate(1301, 0);
player.animate(7299, 0);
player.hit(10);
player.animate(1301, 0);
player.animate(7299, 0);
player.hit(5);
player.combatDelay += 3;
player.potDelay = 3;
}
break;