Rework clanmanmode attack option hiding (#746)

* A whole bunch of refactoring

* Api/mixins/injector additions for hiding attack options

* Rework clanmanmode attack hiding

* Update Client.java
This commit is contained in:
Lucwousin
2019-06-26 01:01:21 +02:00
committed by Kyleeld
parent ae6274a16f
commit 39a4cb2266
118 changed files with 2038 additions and 1955 deletions

View File

@@ -23,7 +23,7 @@ public class class32 {
Widget var3;
if(var0 >= 2000) {
var0 -= 1000;
var3 = Huffman.getWidget(Interpreter.Interpreter_intStack[--class179.Interpreter_intStackSize]);
var3 = Huffman.getWidget(Interpreter.Interpreter_intStack[--RouteStrategy.Interpreter_intStackSize]);
} else {
var3 = var2?WorldMapIcon1.__t_i:class12.__n_n;
}
@@ -32,7 +32,7 @@ public class class32 {
if(var0 != 1200 && var0 != 1205 && var0 != 1212) {
if(var0 == 1201) {
var3.modelType = 2;
var3.modelId = Interpreter.Interpreter_intStack[--class179.Interpreter_intStackSize];
var3.modelId = Interpreter.Interpreter_intStack[--RouteStrategy.Interpreter_intStackSize];
return 1;
} else if(var0 == 1202) {
var3.modelType = 3;
@@ -42,9 +42,9 @@ public class class32 {
return 2;
}
} else {
class179.Interpreter_intStackSize -= 2;
int var4 = Interpreter.Interpreter_intStack[class179.Interpreter_intStackSize];
int var5 = Interpreter.Interpreter_intStack[class179.Interpreter_intStackSize + 1];
RouteStrategy.Interpreter_intStackSize -= 2;
int var4 = Interpreter.Interpreter_intStack[RouteStrategy.Interpreter_intStackSize];
int var5 = Interpreter.Interpreter_intStack[RouteStrategy.Interpreter_intStackSize + 1];
var3.itemId = var4;
var3.itemQuantity = var5;
ItemDefinition var6 = Skills.getItemDefinition(var4);