From 39acc5aff9c7ac75b34364ed4d389d7a6bcfc53d Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 23 May 2025 18:06:37 -0400 Subject: Refactor tower sprites + animation scripts --- scripts/cursor.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/cursor.gd') diff --git a/scripts/cursor.gd b/scripts/cursor.gd index d12f9e0..22c1da1 100644 --- a/scripts/cursor.gd +++ b/scripts/cursor.gd @@ -15,11 +15,11 @@ var dirs = {"move_right": Vector2.RIGHT, var towers : Dictionary[String, Dictionary] = { "place_warlock": { "scene": preload("res://scenes/warlock.tscn"), - "cost": game_stats_config.warlock_defender_cost + "cost": game_stats_config.defenders["warlock"]["cost"] }, "place_wyvern": { "scene": preload("res://scenes/wyvern.tscn"), - "cost": game_stats_config.wyvern_defender_cost + "cost": game_stats_config.defenders["wyvern"]["cost"] } } -- cgit v1.2.3