Added decent remix system
This commit is contained in:
10
Scripts/Features/HeavyRounds/heavy_rounds.gd
Normal file
10
Scripts/Features/HeavyRounds/heavy_rounds.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
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)))
|
||||
Reference in New Issue
Block a user