mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
c9592c38df
* Adds a button property to a WeaponClasses styles, which maps a combat style to the button that was pressed in the combat tab. * Adds full support for special attacks, with their config IDs and buttons. * Adds the DDS special attack, along with the D2H special attack as some starting examples. * Rename the "no_weapon" Weapon to "unarmed", so it shows up better in the UI.
11 lines
340 B
Ruby
11 lines
340 B
Ruby
create_weapon_class :no_weapon, widget: 92 do
|
|
default_speed 4
|
|
|
|
add_style :accurate, animation: 422, block_animation: 424
|
|
add_style :aggressive, animation: 423, block_animation: 424
|
|
add_style :defensive, animation: 422, block_animation: 424
|
|
end
|
|
|
|
create_weapon :unarmed, :no_weapon, named: true do
|
|
# Todo factor out empty blocks
|
|
end |