From e8ecfbcd011e347f9bbe283d2c7b0367b5323e52 Mon Sep 17 00:00:00 2001 From: tonydero Date: Thu, 24 Oct 2024 14:26:31 -0600 Subject: [PATCH] tweak experience calc to swap diff and cube --- scripts/Player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Player.gd b/scripts/Player.gd index 7ebdac6..35d4b27 100644 --- a/scripts/Player.gd +++ b/scripts/Player.gd @@ -19,7 +19,7 @@ func _ready() -> void: func _on_enemy_died(enemyDifficulty, enemyTier, _enemyFaction) -> void: - var kill_exp = pow(pow(enemyTier + 1, 3), enemyDifficulty) + var kill_exp = pow(pow(enemyTier + 1, enemyDifficulty), 3) area_exp += kill_exp # Globals.debug_print("T: " + str(enemyTier) + " D: " + str(enemyDifficulty)) # Globals.debug_print("K: " + str(kill_exp))