Autoattacking weapons (#23765)

auto attacks
This commit is contained in:
Nemanja
2024-01-09 02:25:07 -05:00
committed by GitHub
parent e97fd47a87
commit 5db615af54
5 changed files with 18 additions and 6 deletions

View File

@@ -353,6 +353,7 @@
- type: Clothing
sprite: Clothing/Hands/Gloves/northstar.rsi
- type: MeleeWeapon
autoAttack: true
attackRate: 4
damage:
types:

View File

@@ -14,12 +14,15 @@
sprite: Objects/Weapons/Melee/chainsaw.rsi
state: icon
- type: MeleeWeapon
autoAttack: true
angle: 0
wideAnimationRotation: -135
attackRate: 4
damage:
types:
Slash: 5
Blunt: 5
Structural: 10
Slash: 2
Blunt: 2
Structural: 4
soundHit:
path: /Audio/Weapons/chainsaw.ogg
params:
@@ -27,8 +30,8 @@
- type: IncreaseDamageOnWield
damage:
types:
Slash: 10
Structural: 10
Slash: 4
Structural: 4
- type: Item
size: Normal
sprite: Objects/Weapons/Melee/chainsaw.rsi

View File

@@ -49,6 +49,8 @@
sprite: Objects/Tools/handdrill.rsi
state: handdrill
- type: MeleeWeapon
autoAttack: true
angle: 0
wideAnimationRotation: -90
soundHit:
path: "/Audio/Items/drill_hit.ogg"