Files

7 lines
209 B
GDScript

class_name ExtendedBarrelFeature
extends Feature
func attach_to_tower(tower_stats: CassetteText) -> void:
tower_stats.set_attribute("Range", tower_stats.get_attribute("Range") * (1.0 + (strength / 100.0)))