Easy..
client.java
Code:
public static int torvaBoost = 50;
player.java
Code:
public boolean hasFullTorva() {
return playerEquipment[playerHat] == 20159 && playerEquipment[playerLegs] == 20167 && playerEquipment[playerChest] == 20163 || playerEquipment[playerHat] == 20147 && playerEquipment[playerLegs] == 20155 && playerEquipment[playerChest] == 20151 || playerEquipment[playerHat] == 20135 && playerEquipment[playerLegs] == 20143 && playerEquipment[playerChest] == 20139;
}
food.java
Code:
public void eat(int id, int slot) {
if (c.duelRule[6]) {
c.sendMessage("You may not eat in this duel.");
return;
}
if (System.currentTimeMillis() - c.foodDelay >= 750 && c.playerLevel[3] > 0) {
int maxHp = c.hasFulltorva() ? c.getLevelForXP(c.playerXP[3])
+ c.torvaBoost : c.getLevelForXP(c.playerXP[3]);
c.getCombat().resetPlayerAttack();
c.attackTimer += 2;
c.startAnimation(829);
c.getItems().deleteItem(id, slot, 1);
FoodToEat f = FoodToEat.food.get(id);
if (c.playerLevel[3] < maxHp || c.playerLevel[3] < maxHp2) {
c.playerLevel[3] += f.getHeal();
if (c.playerLevel[3] > maxHp)
c.playerLevel[3] = maxHp;
}
c.foodDelay = System.currentTimeMillis();
c.getPA().refreshSkill(3);
c.sendMessage("You eat the " + f.getName() + ".");
}
}
You should know where to put those. Please note this isn't the 100% effect (such as if you take the armour off, or you brew.)