Nerf survivor in non-cryptid to promote more interesting play
This commit is contained in:
parent
91a5163b20
commit
571eff1e53
3 changed files with 13 additions and 8 deletions
|
|
@ -57,11 +57,16 @@ target = "functions/state_events.lua"
|
||||||
pattern = "for _, v in ipairs(SMODS.get_card_areas('playing_cards')) do"
|
pattern = "for _, v in ipairs(SMODS.get_card_areas('playing_cards')) do"
|
||||||
position = "after"
|
position = "after"
|
||||||
payload = '''if v == G.hand and not (G.GAME.blind and G.GAME.blind.name == "The Card" and not G.GAME.blind.disabled) and next(SMODS.find_card("j_jane_survivor")) then
|
payload = '''if v == G.hand and not (G.GAME.blind and G.GAME.blind.name == "The Card" and not G.GAME.blind.disabled) and next(SMODS.find_card("j_jane_survivor")) then
|
||||||
|
if Cryptid then
|
||||||
for _, v in ipairs(G.hand.cards) do
|
for _, v in ipairs(G.hand.cards) do
|
||||||
local area = {cards = {v}}
|
local area = {cards = {v}}
|
||||||
SMODS.calculate_main_scoring({cardarea = area, full_hand = area.cards, scoring_hand = area.cards, scoring_name = text, poker_hands = poker_hands}, area.cards)
|
SMODS.calculate_main_scoring({cardarea = area, full_hand = area.cards, scoring_hand = area.cards, scoring_name = text, poker_hands = poker_hands}, area.cards)
|
||||||
SMODS.calculate_main_scoring({cardarea = area, full_hand = area.cards, scoring_hand = area.cards, scoring_name = text, poker_hands = poker_hands}, nil)
|
SMODS.calculate_main_scoring({cardarea = area, full_hand = area.cards, scoring_hand = area.cards, scoring_name = text, poker_hands = poker_hands}, nil)
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
SMODS.calculate_main_scoring({cardarea = G.hand, full_hand = G.hand.cards, scoring_hand = G.hand.cards, scoring_name = text, poker_hands = poker_hands}, G.hand.cards)
|
||||||
|
SMODS.calculate_main_scoring({cardarea = G.hand, full_hand = G.hand.cards, scoring_hand = G.hand.cards, scoring_name = text, poker_hands = poker_hands}, nil)
|
||||||
|
end
|
||||||
else'''
|
else'''
|
||||||
match_indent = true
|
match_indent = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,5 +17,5 @@
|
||||||
"conflicts": [
|
"conflicts": [
|
||||||
"Jen"
|
"Jen"
|
||||||
],
|
],
|
||||||
"version": "1.5.9"
|
"version": "1.5.10"
|
||||||
}
|
}
|
||||||
|
|
@ -125,9 +125,9 @@ SMODS.Joker {
|
||||||
name = "The Survivor",
|
name = "The Survivor",
|
||||||
text = {
|
text = {
|
||||||
"All cards held in hand",
|
"All cards held in hand",
|
||||||
"{C:attention}contribute to scoring {}and",
|
"{C:attention}contribute to scoring" .. (Cryptid and " {}and" or ""),
|
||||||
"are all considered as",
|
Cryptid and "are all considered as" or nil,
|
||||||
"the {C:attention}first played card",
|
Cryptid and "the {C:attention}first played card" or nil,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pos = {x = 0, y = 0},
|
pos = {x = 0, y = 0},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue