From 92db2652b38102e6e72b50c1580e74a0a338bc38 Mon Sep 17 00:00:00 2001 From: Baisebaoma Date: Sun, 17 Dec 2023 09:34:24 +0800 Subject: [PATCH] Bug fixes --- jianyu.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jianyu.lua b/jianyu.lua index e83f952..dd77baf 100644 --- a/jianyu.lua +++ b/jianyu.lua @@ -1772,8 +1772,9 @@ local jy_jiangbei_draw_count = fk.CreateTriggerSkill{ frequency = Skill.Compulsory, 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 and data.from == player -- 在我的出牌阶段,我使用或打出的牌 + if player:hasSkill(self) and data.card and player.phase == Player.Play then + return target == player + end end, on_refresh = function(self, event, target, player, data) local room = player.room