mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Renamed more of ObjType
This commit is contained in:
parent
bcb88470f8
commit
694fc3b9dc
24 changed files with 477 additions and 425 deletions
|
|
@ -1,18 +1,36 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public class PlayerSkillXpTable {
|
||||
|
||||
@OriginalMember(owner = "client!ud", name = "T", descriptor = "[I")
|
||||
public static final int[] updatedStats = new int[32];
|
||||
|
||||
@OriginalMember(owner = "client!lb", name = "p", descriptor = "[I")
|
||||
public static final int[] baseLevels = new int[25];
|
||||
|
||||
@OriginalMember(owner = "client!hk", name = "fb", descriptor = "[I")
|
||||
public static final int[] boostedLevels = new int[25];
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "b", descriptor = "[I")
|
||||
public static final int[] experience = new int[25];
|
||||
|
||||
@OriginalMember(owner = "client!h", name = "S", descriptor = "[I")
|
||||
public static final int[] xpLevelLookup = new int[99];
|
||||
|
||||
@OriginalMember(owner = "client!ha", name = "m", descriptor = "I")
|
||||
public static int updatedStatsWriterIndex = 0;
|
||||
|
||||
static {
|
||||
@Pc(4) int local4 = 0;
|
||||
for (@Pc(6) int local6 = 0; local6 < 99; local6++) {
|
||||
@Pc(13) int local13 = local6 + 1;
|
||||
@Pc(26) int local26 = (int) (Math.pow(2.0D, (double) local13 / 7.0D) * 300.0D + (double) local13);
|
||||
local4 += local26;
|
||||
PlayerSkillXpTable.xpLevelLookup[local6] = local4 / 4;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue