We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11668e5 + 55bc487 commit f06ee7dCopy full SHA for f06ee7d
lib/overrides.lua
@@ -2024,20 +2024,16 @@ function SMODS.four_fingers()
2024
end
2025
2026
function Cryptid.create_dummy_from_stone(rank)
2027
- local r = rank
2028
- rank = tonumber(rank) or ({
2029
- Ace = 14,
2030
- King = 13,
2031
- Queen = 12,
2032
- Jack = 11,
2033
- })[rank] or rank
+ local r = tostring(rank)
+ rank = SMODS.Ranks[r].id
2034
return {
2035
get_id = function()
2036
return rank
2037
end,
2038
config = {
2039
center = {},
2040
},
+ ability = {},
2041
base = {
2042
id = rank,
2043
value = rank >= 11 and "Queen" or "10",
0 commit comments