[RuneScape] Food Method
Page 1 of 1
[RuneScape] Food Method
Aceasta este o metoda utilizata pentru a manca mai rapid si mai usor. Desi este pentru mancare , poate fi folosita si pentru a face potiune de viata.
In client.java trebuie sa adaugati:
Ce face ? Sa spunem ca primul set de numere creeaza numarul pentru animatie , iar al doilea set de numere va creea animatia asa ca nu se bucleaza. Altfel spus , va va creste viata.
Acum pentru a o face sa mearga trebuie sa cautati:
Asa ca dupa ce terminati salvati si compilati si cand pica itemul 391 mancati-l si ar trebui sa mearga. Puteti face la fel si cu celalalte tipuri de mancare.
Credite:
Goru - Traducere , ajustare
Roger - Tutorial , some coding
psyhoman - Mancare
In client.java trebuie sa adaugati:
- Code:
public void eatFood(int anim, int rt, int nh) { //Created by Rog3r
setAnimation(anim);
animationReset = System.currentTimeMillis() + rt;
currentHealth += nh;
if (currentHealth > playerLevel[playerHitpoints])
currentHealth = playerLevel[playerHitpoints];
}
Ce face ? Sa spunem ca primul set de numere creeaza numarul pentru animatie , iar al doilea set de numere va creea animatia asa ca nu se bucleaza. Altfel spus , va va creste viata.
Acum pentru a o face sa mearga trebuie sa cautati:
- Code:
case 526:
- Code:
case 315:
eatFood(0x33D, 750, 2);
sendMessage("You eat the lobster.");
break;
case 361:
eatFood(0x33D, 750, 5);
sendMessage("You eat the Tuna.");
break;
case 319:
eatFood(0x33D, 750, 3);
sendMessage("You eat the shrimp.");
break;
case 325:
eatFood(0x33D, 750, 5);
sendMessage("You eat the lobster.");
break;
case 397:
eatFood(0x33D, 750, 21);
sendMessage("You eat the Sea Turtle.");
break;
case 2149:
eatFood(0x33D, 750, 14);
sendMessage("You eat the Lava Eel.");
break;
case 351:
eatFood(0x33D, 750, 8);
sendMessage("You eat the Pike.");
break;
case 365:
eatFood(0x33D, 750, 13);
sendMessage("You eat the Bass.");
break;
case 329:
eatFood(0x33D, 750, 7);
sendMessage("You eat the salmon.");
break;
case 379:
eatFood(0x33D, 750, 10);
sendMessage("You eat the lobster.");
break;
case 1942:
eatFood(0x33D, 750, 2);
sendMessage("You eat the potato.");
break;
case 1965:
eatFood(0x33D, 750, 2);
sendMessage("You eat the cabbage.");
break;
case 339:
eatFood(0x33D, 750, 6);
sendMessage("You eat the cod!");
break;
case 385:
eatFood(0x33D, 750, 30);
sendMessage("You eat the shark!");
break;
case 2309:
eatFood(1327, 750, 3);
sendMessage("You eat the crispy bread.");
break;
case 373:
eatFood(1327, 750, 15);
sendMessage("You eat the sword fish.");
break;
case 2108:
eatFood(0x33D, 750, 2);
sendMessage("You eat the orange.");
break;
case 391:
eatFood(0x33D, 750, 50);
sendMessage("You eat the manta ray.");
break;
Asa ca dupa ce terminati salvati si compilati si cand pica itemul 391 mancati-l si ar trebui sa mearga. Puteti face la fel si cu celalalte tipuri de mancare.
- Code:
Regula:
Animation ID, Animation Reset, Heal
The Case = Item ID
Credite:
Goru - Traducere , ajustare
Roger - Tutorial , some coding
psyhoman - Mancare
Similar topics
» [RuneScape] Stalls Method
» [RuneScape] Crafting Method
» [RuneScape] NPC Talking
» [RuneScape] Rezolvarea bugului de Duel / Bank
» [RuneScape] Cum dai ban IP / Adress din fisiere
» [RuneScape] Crafting Method
» [RuneScape] NPC Talking
» [RuneScape] Rezolvarea bugului de Duel / Bank
» [RuneScape] Cum dai ban IP / Adress din fisiere
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|