Skip to content

Commit b946310

Browse files
committed
fixing bugs before they get found
1 parent a0858fb commit b946310

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

items/misc_joker.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7783,6 +7783,10 @@ local cat_owl = { -- Lucky Cards are considered Echo Cards and vice versa
77837783
cost = 8,
77847784
blueprint_compat = false,
77857785
atlas = "atlasone",
7786+
loc_vars = function(self, info_queue, center)
7787+
info_queue[#info_queue + 1] = G.P_CENTERS.m_lucky
7788+
info_queue[#info_queue + 1] = G.P_CENTERS.m_cry_echo
7789+
end,
77867790
calculate = function(self, card, context)
77877791
if context.check_enhancement then
77887792
if context.other_card.config.center.key == "m_lucky" then

lovely/lib_ui.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ target = "functions/misc_functions.lua"
8787
pattern = "detailed_tooltip = part.control.T and (G.P_CENTERS[part.control.T] or G.P_TAGS[part.control.T]) or nil,"
8888
position = 'at'
8989
match_indent = true
90-
payload = "detailed_tooltip = part.control.T and Cryptid.get_center(part.control.T) or nil,"
90+
payload = "detailed_tooltip = part.control.T and (Cryptid.get_center(part.control.T) or (G.P_CENTERS[part.control.T] or G.P_TAGS[part.control.T])) or nil,"
9191

9292
# Remove consumable use UI in the collection
9393
[[patches]]

0 commit comments

Comments
 (0)