Files
Decked-Out-Defense/Scripts/Features/HeavyRounds/heavy_rounds.gd
2025-08-23 20:27:22 +10:00

11 lines
366 B
GDScript

class_name HeavyRoundsFeature
extends Feature
func attach_to_tower(tower_stats: CardText) -> void:
tower_stats.set_attribute("Damage", tower_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))
func attach_to_weapon(weapon_stats: CardText) -> void:
weapon_stats.set_attribute("Damage", weapon_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))