[桌游棋牌游戏] 求DIY个三国杀制衡,反正过牌很强的就行

[复制链接]
查看96 | 回复0 | 2022-2-10 22:22 | 显示全部楼层 |阅读模式
问题:
求DIY个三国杀制衡,反正过牌很强的就行

只要过牌不错就行了,最好不要什么副作用,谢谢



推荐答案:
出牌阶段限一次,你可以弃置至少两张牌然后摸等量的牌,若你以此法获得的牌数花色均不同,则你此阶段内使用该技能的次数+1.


其他答案:
是需要个Lua代码吗?
LuaZhihengCard = sgs.CreateSkillCard{
name = "LuaZhihengCard",
target_fixed = true,
mute = true,
on_use = function(self, room, source, targets)
if source:isAlive() then
room:drawCards(source, self:subcardsLength(), "zhiheng")
end
end
}
LuaZhiheng = sgs.CreateViewAsSkill{
name = "LuaZhiheng",
n = 999,
view_filter = function(self, selected, to_select)
return not sgs.Self:isJilei(to_select)
end,
view_as = function(self, cards)
if #cards == 0 then return nil end
local zhiheng_card = LuaZhihengCard:clone()
for _,card in pairs(cards) do
zhiheng_card:addSubcard(card)
end
zhiheng_card:setSkillName(self:objectName())
return zhiheng_card
end,
enabled_at_play = function(self, player)
return not player:hasUsed("#LuaZhihengCard") and player:canDiscard(player, "he")
end,
enabled_at_response = function(self, target, pattern)
return pattern == "@zhiheng"
end
}



其他答案:
2个无懈可击和一个没用的装备吧!
【玉璞集 YUPUG.COM】