Added Winter theme and fixed couple items that werent wore in the correct slot (#271)

Added Winter theme and fixed couple items that werent wore in the correct slot
This commit is contained in:
Gptaqbc
2019-12-12 04:31:21 -05:00
committed by Daniel Ginovker
parent 64ae22188f
commit c891e4741e
3 changed files with 8 additions and 2 deletions
@@ -35,5 +35,6 @@ public class ClientSettings {
public static final BigInteger RSA_MODULUS = new BigInteger("91553247461173033466542043374346300088148707506479543786501537350363031301992107112953015516557748875487935404852620239974482067336878286174236183516364787082711186740254168914127361643305190640280157664988536979163450791820893999053469529344247707567448479470137716627440246788713008490213212272520901741443"); public static final BigInteger RSA_MODULUS = new BigInteger("91553247461173033466542043374346300088148707506479543786501537350363031301992107112953015516557748875487935404852620239974482067336878286174236183516364787082711186740254168914127361643305190640280157664988536979163450791820893999053469529344247707567448479470137716627440246788713008490213212272520901741443");
public static final BigInteger RSA_EXPONENT = new BigInteger("65537"); public static final BigInteger RSA_EXPONENT = new BigInteger("65537");
public final static Boolean SNOW = true;
} }
+3
View File
@@ -25,6 +25,9 @@ public final class Flo {
return; return;
} else if (i == 1) { } else if (i == 1) {
anInt390 = stream.read3Bytes(); anInt390 = stream.read3Bytes();
if (ClientSettings.SNOW) {
anInt390 = 0xffffff;
}
method262(anInt390); method262(anInt390);
} else if (i == 2) { } else if (i == 2) {
anInt391 = stream.readUnsignedByte(); anInt391 = stream.readUnsignedByte();
@@ -141,11 +141,11 @@ public class Item {
private static String[] fullhat = { "med helm", "coif", "Dharok's helm", private static String[] fullhat = { "med helm", "coif", "Dharok's helm",
"hood", "Initiate helm", "Coif", "Helm of neitiznot", "hood", "Initiate helm", "Coif", "Helm of neitiznot",
"Armadyl helmet", "Berserker helm", "Archer helm", "Farseer helm", "Armadyl helmet", "Berserker helm", "Archer helm", "Farseer helm",
"Warrior helm", "Void" }; "Warrior helm", "Void"};
/* Fullmask covers your entire head. */ /* Fullmask covers your entire head. */
private static String[] fullmask = { "full helm(t)", "full helm(g)", "full helm", "mask", "Verac's helm", private static String[] fullmask = { "full helm(t)", "full helm(g)", "full helm", "mask", "Verac's helm",
"Guthan's helm", "Karil's coif", "mask", "Torag's helm", "Void", "helmet", "Guthan's helm", "Karil's coif", "mask", "Torag's helm", "Void", "helmet",
"sallet", "Facemask" }; "sallet", "Facemask", "Bearhead"};
public static boolean isFullBody(int itemId) { public static boolean isFullBody(int itemId) {
String weapon = getItemName(itemId); String weapon = getItemName(itemId);
@@ -276,6 +276,8 @@ public class Item {
case 1167: case 1167:
case 5525: case 5525:
case 4168: case 4168:
case 4502:
case 1037:
case 1025: case 1025:
case 7112: case 7112:
case 7124: case 7124: