Merge branch 'luojiao_nanman'
This commit is contained in:
commit
4efec4f407
|
@ -1294,7 +1294,7 @@ local jy_luojiao_savage_assault = fk.CreateTriggerSkill{
|
||||||
events = {fk.AfterCardsMove},
|
events = {fk.AfterCardsMove},
|
||||||
can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
if not player:hasSkill(self) then return false end
|
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
|
if not player.is_dian_may_changing then return false end
|
||||||
-- TODO:如果有其他的牌进出你的特殊区,即使不是点,也会触发这个技能
|
-- TODO:如果有其他的牌进出你的特殊区,即使不是点,也会触发这个技能
|
||||||
local dians = player:getPile("xjb__aweiluo_dian")
|
local dians = player:getPile("xjb__aweiluo_dian")
|
||||||
|
|
Loading…
Reference in New Issue