game: add bleed

This commit is contained in:
2025-08-22 20:50:11 +02:00
parent 0dada63709
commit 6fff2dd9a3
15 changed files with 163 additions and 28 deletions

View File

@@ -29,11 +29,7 @@ func _ready() -> void:
if not weapon:
weapon = WEAPON_SWORD.instantiate()
add_child(weapon)
var mod = WeaponModBase.new()
mod.mod_property = "attack_damage"
mod.mod_value = 10.0
mod.mod_type = WeaponModBase.ModType.ADDITIVE
weapon.add_mod(mod)
func _physics_process(delta: float) -> void: