Agility plugin: generate less garbage objects and use a color range for levels

This commit is contained in:
Lucwousin
2019-09-04 10:18:33 +02:00
parent 37db102ebf
commit f4ce10e394
5 changed files with 82 additions and 21 deletions

View File

@@ -97,7 +97,7 @@ public class class51 {
if (Client.menuOptionsCount < 400) {
String var4;
if (var0.skillLevel == 0) {
var4 = var0.actions[0] + var0.username + var0.actions[1] + class225.method4037(var0.combatLevel, WorldMapIcon_1.localPlayer.combatLevel) + " " + " (" + "level-" + var0.combatLevel + ")" + var0.actions[2];
var4 = var0.actions[0] + var0.username + var0.actions[1] + class225.getLevelColorString(var0.combatLevel, WorldMapIcon_1.localPlayer.combatLevel) + " " + " (" + "level-" + var0.combatLevel + ")" + var0.actions[2];
} else {
var4 = var0.actions[0] + var0.username + var0.actions[1] + " " + " (" + "skill-" + var0.skillLevel + ")" + var0.actions[2];
}