Abyss Torches now increase luck in the Abyss and negatively affect torch luck outside the Abyss

This commit is contained in:
ben-tk authored and Cameron Ewell committed 2022-08-19 11:43:02 -04:00
1 parent 1f143576df
commit 374094399d
1 file changed
+6
+6
View File
@@ -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
}
}
}