Merge branch 'luojiao_nanman'

This commit is contained in:
Baisebaoma 2023-12-13 00:22:57 +08:00
commit 4efec4f407
1 changed files with 1 additions and 1 deletions

View File

@ -1294,7 +1294,7 @@ local jy_luojiao_savage_assault = fk.CreateTriggerSkill{
events = {fk.AfterCardsMove},
can_trigger = function(self, event, target, player, data)
if not player:hasSkill(self) then return false end
if player:usedSkillTimes(self.name, Player.HistoryPhase) ~= 0 then return false end -- 这个条件必须放在这里,提高效率,也可以一定程度上防止因别的特殊区牌量变动而多次触发
if player:usedSkillTimes(self.name) ~= 0 then return false end -- 这个条件必须放在这里,提高效率,也可以一定程度上防止因别的特殊区牌量变动而多次触发
if not player.is_dian_may_changing then return false end
-- TODO如果有其他的牌进出你的特殊区即使不是点也会触发这个技能
local dians = player:getPile("xjb__aweiluo_dian")