From 374094399dc97bbd2bfeacf040e862323d3009be Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Wed, 17 Aug 2022 19:15:54 -0400 Subject: [PATCH] Abyss Torches now increase luck in the Abyss and negatively affect torch luck outside the Abyss --- Tiles/FurnitureAbyss/AbyssTorch.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tiles/FurnitureAbyss/AbyssTorch.cs b/Tiles/FurnitureAbyss/AbyssTorch.cs index 4157836cbb..1a37a35f73 100644 --- a/Tiles/FurnitureAbyss/AbyssTorch.cs +++ b/Tiles/FurnitureAbyss/AbyssTorch.cs @@ -81,5 +81,11 @@ namespace CalamityMod.Tiles.FurnitureAbyss CalamityUtils.RightClickBreak(i, j); return true; } + + public override float GetTorchLuck(Player player) + { + // Note: Total Torch luck never goes below zero + return player.ZoneAbyss ? 1f : -0.5f; // Abyss Torch gives maximum positive luck when in the Abyss, otherwise some negative luck + } } }