Bug fixes

This commit is contained in:
Baisebaoma 2023-12-17 09:34:24 +08:00
parent f3d90f747d
commit 92db2652b3
1 changed files with 3 additions and 2 deletions

View File

@ -1772,8 +1772,9 @@ local jy_jiangbei_draw_count = fk.CreateTriggerSkill{
frequency = Skill.Compulsory, frequency = Skill.Compulsory,
refresh_events = {fk.CardResponding, fk.TargetSpecified}, -- 包括了使用和打出 refresh_events = {fk.CardResponding, fk.TargetSpecified}, -- 包括了使用和打出
can_refresh = function(self, event, target, player, data) can_refresh = function(self, event, target, player, data)
return player:hasSkill(self) and target == player and data.card and if player:hasSkill(self) and data.card and player.phase == Player.Play then
player.phase == Player.Play and data.from == player -- 在我的出牌阶段,我使用或打出的牌 return target == player
end
end, end,
on_refresh = function(self, event, target, player, data) on_refresh = function(self, event, target, player, data)
local room = player.room local room = player.room