Bug fixes

This commit is contained in:
Baisebaoma 2023-12-17 09:24:22 +08:00
parent e8a3b0bb28
commit f3d90f747d
1 changed files with 5 additions and 5 deletions

View File

@ -1674,7 +1674,7 @@ local jy_boshi = fk.CreateTriggerSkill{
})
player:drawCards(3, self.name)
room:handleAddLoseSkills(player, "-#jy_boshi_count", nil, true, true) -- 不用再看判定了多少次了
room:handleAddLoseSkills(player, "-#jy_boshi_count", jy_boshi, true, true) -- 不用再看判定了多少次了
room:setPlayerMark(player, "@jy_boshi_judge_count", 0)
room:handleAddLoseSkills(player, "-jy_huapen", nil, true, true)
@ -1773,7 +1773,7 @@ local jy_jiangbei_draw_count = fk.CreateTriggerSkill{
refresh_events = {fk.CardResponding, fk.TargetSpecified}, -- 包括了使用和打出
can_refresh = function(self, event, target, player, data)
return player:hasSkill(self) and target == player and data.card and
player.phase == Player.Play -- 在我的出牌阶段
player.phase == Player.Play and data.from == player -- 在我的出牌阶段,我使用或打出的牌
end,
on_refresh = function(self, event, target, player, data)
local room = player.room
@ -1844,7 +1844,7 @@ Fk:loadTranslationTable {
["jy_boshi"] = "搏十",
[":jy_boshi"] = [[103
3]],
["@jy_boshi_judge_count"] = "",
["@jy_boshi_judge_count"] = "",
["jy_huapen"] = "花盆",
[":jy_huapen"] = [[使
@ -1854,8 +1854,8 @@ Fk:loadTranslationTable {
[":jy_jiangbei"] = [[使<font color="red"></font>
使<font color="red"></font>]],
["#jy_jiangbei_heart"] = "奖杯·红桃",
["#jy_jiangbei_club"] = "奖杯·梅花·无限",
["#jy_jiangbei_club_2"] = "奖杯·梅花·无视防具",
["#jy_jiangbei_club"] = "奖杯·梅花",
["#jy_jiangbei_club_2"] = "奖杯·梅花",
["@jy_jiangbei_draw"] = "奖杯",
["#jy_jiangbei_no"] = "不可摸牌",
-- TODO改一下这里按照sp公孙瓒义从改只提示触发了义从。