Darkness Revolt
July 14th, 2010, 05:02
Noz:
ur fucking stupid that doesn answer south west etc that just says use an area witch i already no if you would look at my server you would see its not a leach as we have fletching, barrows with crypt spawnning digging and chest rewards and runecrafting soon and the only reason im asking this question was becuase im working on fucking soul wars next time u tell someone they leach how about you go look at there work first u fucking tard this is why i dont come on runelocus so many damn rude ppl
Is this what your talking about?
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Simple Fletching Base All Bows, Not Arrows: I have arrows but im tired of knocking you down
package com.rs2hd.content.skills.fletching;
import com.rs2hd.model.Player;
public class Fletching {
public static void StringSBow(Player p, int usedWith, int itemUsed) {
int [] bowstring = {1777}; //Bowstring id
int[] shortbow = {841, 843, 849, 853, 857, 861};
int[] shortbowu = {50, 54, 60, 64, 68, 72};
int shortXP[] = {100, 300, 500, 700, 800, 1000};
int[] emoteShort = {6678, 6679, 6680, 6681, 6682, 6683};
int[] shortLVL = {5, 20, 35, 50, 65, 80}; //Level Requirement
for (int i = 0; i < bowstring.length; i++) {
if (itemUsed == bowstring[i] && usedWith == shortbowu[i]) {
if (p.getSkills().getLevel(9) >= shortLVL[i]) {
p.getSkills().addXp(9, shortXP[i]);
p.animate(emoteShort[i]);
p.getInventory().deleteItem(bowstring[i], 1);
p.getInventory().deleteItem(shortbowu[i], 1);
p.getInventory().addItem(shortbow[i], 1);
} else
p.sm("You don't have the fletch level to string this bow.");
}
}
}
public static void StringLBow(Player p, int usedWith, int itemUsed) {
int [] bowstrings = {1777};
int[] longbow = {839, 845, 847, 851, 855, 859};
int[] longbowu = {48, 56, 58, 62, 66, 70};
int longXP[] = {150, 350, 650, 800, 900, 1400};
int[] emoteLong = {6684, 6685, 6686, 6687, 688, 6689};
int[] longLVL = {10, 25, 40, 55, 70, 85};
for (int i = 0; i < bowstrings.length; i++) {
if (itemUsed == bowstrings[i] && usedWith == longbowu[i]) {
if (p.getSkills().getLevel(9) >= longLVL[i]) {
p.getSkills().addXp(9, longXP[i]);
p.animate(emoteLong[i]);
p.getInventory().deleteItem(bowstrings[i], 1);
p.getInventory().deleteItem(longbowu[i], 1);
p.getInventory().addItem(longbow[i], 1);
} else
p.sm("You don't have the fletch level to string this bow.");
}
}
}
public static void CutLogs(Player p, int usedWith, int itemUsed) {
int [] knife = {946};
int[] logs = {1511};
int[] shafts = {52};
int fletchXP[] = {50};
for (int i = 0; i < knife.length; i++) {
if (itemUsed == knife[0] && usedWith == logs[i]) {
p.getSkills().addXp(9, fletchXP[i]);
p.animate(6702);
p.getInventory().deleteItem(logs[i], 1);
p.getInventory().addItem(shafts[i], 15);
}
}
}
}
Cool story Noz, it takes 20 mins to code. Stop boasting about it.
ur fucking stupid that doesn answer south west etc that just says use an area witch i already no if you would look at my server you would see its not a leach as we have fletching, barrows with crypt spawnning digging and chest rewards and runecrafting soon and the only reason im asking this question was becuase im working on fucking soul wars next time u tell someone they leach how about you go look at there work first u fucking tard this is why i dont come on runelocus so many damn rude ppl
Is this what your talking about?
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Simple Fletching Base All Bows, Not Arrows: I have arrows but im tired of knocking you down
package com.rs2hd.content.skills.fletching;
import com.rs2hd.model.Player;
public class Fletching {
public static void StringSBow(Player p, int usedWith, int itemUsed) {
int [] bowstring = {1777}; //Bowstring id
int[] shortbow = {841, 843, 849, 853, 857, 861};
int[] shortbowu = {50, 54, 60, 64, 68, 72};
int shortXP[] = {100, 300, 500, 700, 800, 1000};
int[] emoteShort = {6678, 6679, 6680, 6681, 6682, 6683};
int[] shortLVL = {5, 20, 35, 50, 65, 80}; //Level Requirement
for (int i = 0; i < bowstring.length; i++) {
if (itemUsed == bowstring[i] && usedWith == shortbowu[i]) {
if (p.getSkills().getLevel(9) >= shortLVL[i]) {
p.getSkills().addXp(9, shortXP[i]);
p.animate(emoteShort[i]);
p.getInventory().deleteItem(bowstring[i], 1);
p.getInventory().deleteItem(shortbowu[i], 1);
p.getInventory().addItem(shortbow[i], 1);
} else
p.sm("You don't have the fletch level to string this bow.");
}
}
}
public static void StringLBow(Player p, int usedWith, int itemUsed) {
int [] bowstrings = {1777};
int[] longbow = {839, 845, 847, 851, 855, 859};
int[] longbowu = {48, 56, 58, 62, 66, 70};
int longXP[] = {150, 350, 650, 800, 900, 1400};
int[] emoteLong = {6684, 6685, 6686, 6687, 688, 6689};
int[] longLVL = {10, 25, 40, 55, 70, 85};
for (int i = 0; i < bowstrings.length; i++) {
if (itemUsed == bowstrings[i] && usedWith == longbowu[i]) {
if (p.getSkills().getLevel(9) >= longLVL[i]) {
p.getSkills().addXp(9, longXP[i]);
p.animate(emoteLong[i]);
p.getInventory().deleteItem(bowstrings[i], 1);
p.getInventory().deleteItem(longbowu[i], 1);
p.getInventory().addItem(longbow[i], 1);
} else
p.sm("You don't have the fletch level to string this bow.");
}
}
}
public static void CutLogs(Player p, int usedWith, int itemUsed) {
int [] knife = {946};
int[] logs = {1511};
int[] shafts = {52};
int fletchXP[] = {50};
for (int i = 0; i < knife.length; i++) {
if (itemUsed == knife[0] && usedWith == logs[i]) {
p.getSkills().addXp(9, fletchXP[i]);
p.animate(6702);
p.getInventory().deleteItem(logs[i], 1);
p.getInventory().addItem(shafts[i], 15);
}
}
}
}
Cool story Noz, it takes 20 mins to code. Stop boasting about it.