Skip to content

Commit

Permalink
fix encoded deck hover?????????????????????
Browse files Browse the repository at this point in the history
how is there card
  • Loading branch information
Toneblock authored Jan 31, 2025
1 parent f3e8fd5 commit 64aa2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion items/code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ local copypaste = {
blueprint_compat = true,
loc_vars = function(self, info_queue, card)
return {
vars = { card and cry_prob(math.min(card.ability.extra.odds/2, card.ability.cry_prob), card.ability.extra.odds, card.ability.cry_rigged) or 1, card and card.ability.extra.odds or 2 }, -- this effectively prevents a copypaste from ever initially misprinting at above 50% odds. still allows rigging/oops
vars = { card and cry_prob(math.min(card.ability.extra.odds/2, card.ability.cry_prob or 1), card.ability.extra.odds, card.ability.cry_rigged) or 1, card and card.ability.extra.odds or 2 }, -- this effectively prevents a copypaste from ever initially misprinting at above 50% odds. still allows rigging/oops
key = Card.get_gameset(card) ~= "madness" and "j_cry_copypaste" or "j_cry_copypaste2"
}
end,
Expand Down

0 comments on commit 64aa2a0

Please sign in to comment.