From 35b1e27e8598e0d5f6f9321b3b834426d5c1bf5a Mon Sep 17 00:00:00 2001 From: codemann8 Date: Mon, 3 Jan 2022 16:02:02 -0600 Subject: [PATCH] Restructured triforce piece pool allocation, capped at 128 --- ItemList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemList.py b/ItemList.py index f1ba9724..c19e55ab 100644 --- a/ItemList.py +++ b/ItemList.py @@ -1003,7 +1003,7 @@ def set_default_triforce(goal, custom_goal, custom_total): triforce_goal, triforce_total = 20, 30 if custom_goal > 0: triforce_goal = max(min(custom_goal, 128), 1) - if custom_total > 0: + if custom_total > 0 or custom_goal > 0: triforce_total = max(min(custom_total, 128), triforce_goal) #128 max to ensure other progression can fit. return (triforce_goal, triforce_total)