game: add bleed
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user