mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 08:39:27 +00:00
Complete special attacks; Fix WeaponClass issues
* 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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
create_weapon_class :unarmed, widget: -1 do
|
||||
create_weapon_class :no_weapon, widget: 92 do
|
||||
default_speed 4
|
||||
|
||||
add_style :accurate, animation: 422, block_animation: 424
|
||||
@@ -6,6 +6,6 @@ create_weapon_class :unarmed, widget: -1 do
|
||||
add_style :defensive, animation: 422, block_animation: 424
|
||||
end
|
||||
|
||||
create_weapon :no_weapon, :unarmed, named: true do
|
||||
create_weapon :unarmed, :no_weapon, named: true do
|
||||
# Todo factor out empty blocks
|
||||
end
|
||||
Reference in New Issue
Block a user