Niator
July 15th, 2010, 11:46
Okay, I will not be showing you how to make a Saradomin Brew that works just the same way as in runescape, but I will show you how to make a saradomin heal X amount hitpoints. It's smart cus you have 4 doses of it and if you got a bag full of saradomin brews that heals 20 hp each dose, then you have
4x20=80 80x28=2240 hitpoints, and thats alot!
EDIT: Yeah I know I am a noob and this is easy for many, but I am just trying to help other noobs :D
1. Okay, you got to open the "ItemPacketHandler.java" found in
src\com\rs2hd
Then you can paste this in:
case 6685:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6685, 1);
player.getInventory().addItem(6687, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6687:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6687, 1);
player.getInventory().addItem(6689, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6689:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6689, 1);
player.getInventory().addItem(6691, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6691:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6691, 1);
player.getInventory().addItem(229, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
That makes it heal 20 hp each dose. :D
110% credits to meh! :D
4x20=80 80x28=2240 hitpoints, and thats alot!
EDIT: Yeah I know I am a noob and this is easy for many, but I am just trying to help other noobs :D
1. Okay, you got to open the "ItemPacketHandler.java" found in
src\com\rs2hd
Then you can paste this in:
case 6685:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6685, 1);
player.getInventory().addItem(6687, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6687:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6687, 1);
player.getInventory().addItem(6689, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6689:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6689, 1);
player.getInventory().addItem(6691, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
case 6691:
if (player.potDelay == 0) {
player.getInventory().deleteItem(6691, 1);
player.getInventory().addItem(229, 1);
player.getSkills().heal(20);
player.animate(829, 0);
player.sm("Your drink the Saradomin Brew.");
player.potDelay = 1;
}
break;
That makes it heal 20 hp each dose. :D
110% credits to meh! :D