Commit c345701e authored by GuGu's avatar GuGu

Update c19500019.lua 在场战破检测

parent a12918a3
Pipeline #19859 passed with stage
in 42 seconds
...@@ -45,7 +45,7 @@ function c19500019.tfilter(c,tp) ...@@ -45,7 +45,7 @@ function c19500019.tfilter(c,tp)
return c:IsControler(tp) and c:IsSetCard(0x186,0x3991) and c:IsOnField() return c:IsControler(tp) and c:IsSetCard(0x186,0x3991) and c:IsOnField()
end end
function c19500019.discon(e,tp,eg,ep,ev,re,r,rp) function c19500019.discon(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsChainNegatable(ev) then return false end if (e:GetHandler():IsOnField() and e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED)) or not Duel.IsChainNegatable(ev) then return false end
if re:IsHasCategory(CATEGORY_NEGATE) if re:IsHasCategory(CATEGORY_NEGATE)
and Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT):IsHasType(EFFECT_TYPE_ACTIVATE) then return false end and Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT):IsHasType(EFFECT_TYPE_ACTIVATE) then return false end
local ex1,tg,tc=Duel.GetOperationInfo(ev,CATEGORY_DESTROY) local ex1,tg,tc=Duel.GetOperationInfo(ev,CATEGORY_DESTROY)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment