Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package server.model.players.skills.crafting;
- import server.model.players.Client;
- /**
- *
- * @author South-Park
- *
- */
- public class ArmorTrimming {
- Client c;
- public ArmorTrimming(Client c) {
- this.c = c;
- }
- public static void makeGoldTrim(Client c) {
- String rune = GetForBars(2358, 1500, c);
- String addy = GetForBars(2358, 1000, c);
- String black = GetForBars(2358, 750, c);
- c.getPA().sendFrame126(rune + "" + rune, 1112);
- c.getPA().sendFrame126(black + "" + black, 1109);
- c.getPA().sendFrame126(addy + "" + addy, 1110);
- c.getPA().sendFrame126(rune + "" + rune, 1118);
- c.getPA().sendFrame126(rune + "" + rune, 1111);
- c.getPA().sendFrame126(rune + "" + rune, 1095);
- c.getPA().sendFrame126(rune + "" + rune, 1115);
- c.getPA().sendFrame126(rune + "" + rune, 1090);
- c.getPA().sendFrame126(addy + "" + addy, 1113);
- c.getPA().sendFrame126(rune + "" + rune, 1116);
- c.getPA().sendFrame126(rune + "" + rune, 1114);
- c.getPA().sendFrame126(addy + "" + addy, 1089);
- c.getPA().sendFrame126(addy + "" + addy, 8428);
- c.getPA().sendFrame126(addy + "" + addy, 1124);
- c.getPA().sendFrame126(black + "" + black, 1125);
- c.getPA().sendFrame126(black + "" + black, 1126);
- c.getPA().sendFrame126(black + "" + black, 1127);
- c.getPA().sendFrame126(black + "" + black, 1128);
- c.getPA().sendFrame126(addy + "" + addy, 1129);
- c.getPA().sendFrame126(addy + "" + addy, 1130);
- c.getPA().sendFrame126(rune + "" + rune, 1131);
- c.getPA().sendFrame126(black + "" + black, 13357);
- c.getPA().sendFrame126(black + "" + black, 11459);
- c.getPA().sendFrame126("Gold Trimming Armor", 1117);
- c.getPA().sendFrame126(
- GetForlvl(88, c) + "~~Trim Shop Test~~" + GetForlvl(18, c), 1101);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(16, c), 1099);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(16, c), 1100);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "" + GetForlvl(14, c), 1088);
- c.getPA().sendFrame126(
- GetForlvl(97, c) + "" + GetForlvl(12, c), 1105);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(11, c), 1098);
- c.getPA().sendFrame126(
- GetForlvl(95, c) + "" + GetForlvl(10, c), 1092);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Platebody" + GetForlvl(9, c), 1083);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(8, c), 1104);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(7, c), 1103);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(7, c), 1106);
- c.getPA().sendFrame126(
- GetForlvl(91, c) + "" + GetForlvl(6, c), 1086);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(5, c),
- 1087);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(5, c), 1108);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(4, c),
- 1085);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Bolts" + GetForlvl(4, c),
- 9144);
- c.getPA().sendFrame126(GetForlvl(89, c) + "" + GetForlvl(4, c),
- 13358);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(3, c), 1102);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(3, c), 1107);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Platebody" + GetForlvl(2, c),
- 1093);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(1, c),
- 1094);
- c.getPA().sendFrame126(GetForlvl(99, c) + "" + GetForlvl(1, c),
- 8429);
- c.getPA()
- .sendFrame126(GetForlvl(99, c) + "Platebody" + GetForlvl(1, c), 1091);
- c.getPA().sendFrame34(2595, 0, 1119, 1); // Black (g)
- c.getPA().sendFrame34(2591, 0, 1120, 1); // Black (g)
- c.getPA().sendFrame34(2593, 0, 1121, 1); // Black (g)
- c.getPA().sendFrame34(2597, 0, 1122, 1); // Black (g)
- c.getPA().sendFrame34(3473, 0, 1123, 1); // Black (g)
- c.getPA().sendFrame34(2613, 1, 1119, 1); // Addy (g)
- c.getPA().sendFrame34(2607, 1, 1120, 1); // Addy (g)
- c.getPA().sendFrame34(2609, 1, 1121, 1); // Addy (g)
- c.getPA().sendFrame34(2611, 1, 1122, 1); // Addy (g)
- c.getPA().sendFrame34(3475, 1, 1123, 1); // Addy (g)
- c.getPA().sendFrame34(2619, 2, 1119, 1); // Rune (g)
- c.getPA().sendFrame34(2615, 2, 1120, 1); // Rune (g)
- c.getPA().sendFrame34(2617, 2, 1121, 1); // Rune (g)
- c.getPA().sendFrame34(2621, 2, 1122, 1); // Rune (g)
- c.getPA().sendFrame34(3476, 2, 1123, 1); // Rune (g)
- c.getPA().sendFrame34(-1, 3, 1119, 1); // longsword
- c.getPA().sendFrame34(-1, 3, 1120, 1); // battleaxe
- c.getPA().sendFrame34(-1, 3, 1121, 1); // platebody
- c.getPA().sendFrame34(-1, 3, 1122, 1); // kiteshield
- c.getPA().sendFrame34(-1, 4, 1119, 1); // 2h sword
- c.getPA().sendFrame34(-1, 4, 1122, 1); // nails
- c.getPA().sendFrame34(-1, 3, 1123, 1);
- c.getPA().sendFrame126("", 1135);
- c.getPA().sendFrame126("", 1134);
- c.getPA().sendFrame126("", 11461);
- c.getPA().sendFrame126("", 11459);
- c.getPA().sendFrame126("", 1132);
- c.getPA().sendFrame126("", 1096);
- c.getPA().showInterface(994);
- }
- public static void makeSilverTrim(Client c) {
- String rune = GetForBars(2356, 1250, c);
- String addy = GetForBars(2356, 750, c);
- String black = GetForBars(2356, 500, c);
- c.getPA().sendFrame126(rune + "" + rune, 1112);
- c.getPA().sendFrame126(black + "" + black, 1109);
- c.getPA().sendFrame126(addy + "" + addy, 1110);
- c.getPA().sendFrame126(rune + "" + rune, 1118);
- c.getPA().sendFrame126(rune + "" + rune, 1111);
- c.getPA().sendFrame126(rune + "" + rune, 1095);
- c.getPA().sendFrame126(rune + "" + rune, 1115);
- c.getPA().sendFrame126(rune + "" + rune, 1090);
- c.getPA().sendFrame126(addy + "" + addy, 1113);
- c.getPA().sendFrame126(rune + "" + rune, 1116);
- c.getPA().sendFrame126(rune + "" + rune, 1114);
- c.getPA().sendFrame126(addy + "" + addy, 1089);
- c.getPA().sendFrame126(addy + "" + addy, 8428);
- c.getPA().sendFrame126(addy + "" + addy, 1124);
- c.getPA().sendFrame126(black + "" + black, 1125);
- c.getPA().sendFrame126(black + "" + black, 1126);
- c.getPA().sendFrame126(black + "" + black, 1127);
- c.getPA().sendFrame126(black + "" + black, 1128);
- c.getPA().sendFrame126(addy + "" + addy, 1129);
- c.getPA().sendFrame126(addy + "" + addy, 1130);
- c.getPA().sendFrame126(rune + "" + rune, 1131);
- c.getPA().sendFrame126(black + "" + black, 13357);
- c.getPA().sendFrame126(black + "" + black, 11459);
- c.getPA().sendFrame126("Silver Trimming Armor", 1117);
- c.getPA().sendFrame126(
- GetForlvl(88, c) + "~~Trim Shop Test~~" + GetForlvl(18, c), 1101);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(16, c), 1099);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(16, c), 1100);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "" + GetForlvl(14, c), 1088);
- c.getPA().sendFrame126(
- GetForlvl(97, c) + "" + GetForlvl(12, c), 1105);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Legs" + GetForlvl(11, c), 1098);
- c.getPA().sendFrame126(
- GetForlvl(95, c) + "" + GetForlvl(10, c), 1092);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Platebody" + GetForlvl(9, c), 1083);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(8, c), 1104);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(7, c), 1103);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(7, c), 1106);
- c.getPA().sendFrame126(
- GetForlvl(91, c) + "" + GetForlvl(6, c), 1086);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(5, c),
- 1087);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(5, c), 1108);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(4, c),
- 1085);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Bolts" + GetForlvl(4, c),
- 9144);
- c.getPA().sendFrame126(GetForlvl(89, c) + "" + GetForlvl(4, c),
- 13358);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Kite Shield" + GetForlvl(3, c), 1102);
- c.getPA().sendFrame126(
- GetForlvl(99, c) + "Plate Skirt" + GetForlvl(3, c), 1107);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Platebody" + GetForlvl(2, c),
- 1093);
- c.getPA().sendFrame126(GetForlvl(99, c) + "Full Helm" + GetForlvl(1, c),
- 1094);
- c.getPA().sendFrame126(GetForlvl(99, c) + "" + GetForlvl(1, c),
- 8429);
- c.getPA()
- .sendFrame126(GetForlvl(99, c) + "Platebody" + GetForlvl(1, c), 1091);
- c.getPA().sendFrame34(2587, 0, 1119, 1); // Black (t)
- c.getPA().sendFrame34(2583, 0, 1120, 1); // Black (t)
- c.getPA().sendFrame34(2585, 0, 1121, 1); // Black (t)
- c.getPA().sendFrame34(2589, 0, 1122, 1); // Black (t)
- c.getPA().sendFrame34(3472, 0, 1123, 1); // Black (t)
- c.getPA().sendFrame34(2605, 1, 1119, 1); // Addy (t)
- c.getPA().sendFrame34(2599, 1, 1120, 1); // Addy (t)
- c.getPA().sendFrame34(2601, 1, 1121, 1); // Addy (t)
- c.getPA().sendFrame34(2603, 1, 1122, 1); // Addy (t)
- c.getPA().sendFrame34(3474, 1, 1123, 1); // Addy (t)
- c.getPA().sendFrame34(2627, 2, 1119, 1); // Rune (t)
- c.getPA().sendFrame34(2623, 2, 1120, 1); // Rune (t)
- c.getPA().sendFrame34(2625, 2, 1121, 1); // Rune (t)
- c.getPA().sendFrame34(2629, 2, 1122, 1); // Rune (t)
- c.getPA().sendFrame34(3477, 2, 1123, 1); // Rune (t)
- c.getPA().sendFrame34(-1, 3, 1119, 1); // longsword
- c.getPA().sendFrame34(-1, 3, 1120, 1); // battleaxe
- c.getPA().sendFrame34(-1, 3, 1121, 1); // platebody
- c.getPA().sendFrame34(-1, 3, 1122, 1); // kiteshield
- c.getPA().sendFrame34(-1, 4, 1119, 1); // 2h sword
- c.getPA().sendFrame34(-1, 4, 1122, 1); // nails
- c.getPA().sendFrame34(-1, 3, 1123, 1);
- c.getPA().sendFrame126("", 1135);
- c.getPA().sendFrame126("", 1134);
- c.getPA().sendFrame126("", 11461);
- c.getPA().sendFrame126("", 11459);
- c.getPA().sendFrame126("", 1132);
- c.getPA().sendFrame126("", 1096);
- c.getPA().showInterface(994);
- }
- private static String GetForlvl(int i, Client c) {
- if (c.playerLevel[12] >= i)
- return "@whi@";
- return "@bla@";
- }
- private static String GetForBars(int i, int j, Client c) {
- if (c.getItems().playerHasItem(i, j))
- return "@gre@";
- return "@red@";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement