mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-08 00:39:10 +00:00
Fix all issues. Wood cutting now works.
This commit is contained in:
committed by
Gary Tierney
parent
da7c7e10b4
commit
75a9b828b2
@@ -2,7 +2,7 @@ package org.apollo.game.plugin.skills.woodcutting
|
||||
|
||||
import org.apollo.game.model.Animation;
|
||||
|
||||
//Animation IDs: https://www.rune-server.ee/runescape-development/rs2-client/configuration/272373-emote-gfx-id-list.html
|
||||
//Animation IDs thanks to Deadly A G S at rune-server.ee
|
||||
enum class Axe(val id: Int, val level: Int, val animation: Animation, val pulses: Int) {
|
||||
RUNE(1359, 41, Animation(867), 3),
|
||||
ADAMANT(1357, 31, Animation(869), 4),
|
||||
@@ -10,14 +10,14 @@ enum class Axe(val id: Int, val level: Int, val animation: Animation, val pulses
|
||||
BLACK(1361, 11, Animation(873), 6),
|
||||
STEEL(1353, 6, Animation(875), 6),
|
||||
IRON(1349, 1, Animation(877), 7),
|
||||
BRONZE(1351, 1, Animation(879), 8)
|
||||
BRONZE(1351, 1, Animation(879), 8);
|
||||
|
||||
companion object {
|
||||
private val AXES = Axe.values()
|
||||
fun getAxes(): Array<Axe> {
|
||||
return AXES
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val AXES = Axe.values()
|
||||
|
||||
fun getAxes(): Array<Axe> {
|
||||
return AXES
|
||||
}
|
||||
|
||||
fun lookupPickaxe(id: Int): Axe? = AXES.find { it.id == id }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user