Add a basic port of the Ruby combat framework

This commit is contained in:
Gary Tierney
2017-12-31 07:28:41 +00:00
parent 106fbfb8f9
commit d392913356
30 changed files with 976 additions and 117 deletions
@@ -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
}
})