mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 00:38:18 +00:00
Add a basic port of the Ruby combat framework
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import AttackStyle.*
|
||||
import AttackType.Ranged
|
||||
import org.apollo.game.model.Animation
|
||||
|
||||
object Bow : RangedWeaponClass(Arrows, {
|
||||
widgetId = 1764
|
||||
|
||||
defaults {
|
||||
attackType = Ranged
|
||||
attackAnimation = Animation(426)
|
||||
attackSpeed = 4
|
||||
attackRange = 7
|
||||
}
|
||||
|
||||
Accurate {
|
||||
button = 1772
|
||||
}
|
||||
|
||||
Rapid {
|
||||
button = 1770
|
||||
attackSpeed = 3
|
||||
|
||||
}
|
||||
|
||||
LongRanged {
|
||||
button = 1771
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user