Class Wilderness
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.Wilderness
-
public class Wilderness extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Wilderness()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static short
getDepth()
static short
getDepth(Locatable locatable)
Ported from the logic provided in [proc,wilderness_level]()(int)
-
-
-
Method Detail
-
getDepth
public static short getDepth(Locatable locatable)
Ported from the logic provided in [proc,wilderness_level]()(int)[proc,wilderness_level]()(int) def_int $int0 = 0; if (~inzone(0_46_55_0_0, 3_52_67_63_63, coord) = 1) { $int0 = calc((coordz(coord) - 55 * 64) / 8 + 1); } else if (~inzone(0_47_158_0_0, 3_47_158_63_63, coord) = 1) { $int0 = calc((coordz(coord) - 155 * 64) / 8 - 1); } else if (~inzone(0_46_155_0_0, 3_53_169_63_63, coord) = 1) { $int0 = calc((coordz(coord) - 155 * 64) / 8 + 1); } return($int0);
-
getDepth
public static short getDepth()
-
-