Block maybe
This commit is contained in:
@@ -17,6 +17,10 @@ enum Hand { MAIN_HAND, OFF_HAND, TWO_HAND }
|
||||
@export var attack_cooldown: float = 0.5
|
||||
@export var attack_animation: String = "Attack1" # Animation to play when attacking
|
||||
|
||||
@export_category("Defense Stats")
|
||||
@export var can_block: bool = false
|
||||
@export_range(0.0, 1.0) var block_reduction: float = 0.5 # Percentage of damage blocked (0.5 = 50%)
|
||||
|
||||
@export_category("Visual")
|
||||
@export var mesh_scene: PackedScene # The 3D mesh for this weapon
|
||||
@export var icon: Texture2D # Optional icon for UI
|
||||
|
||||
Reference in New Issue
Block a user