Commit c487f3a5 authored by Tachibana's avatar Tachibana

1145141919810

parent c9c86592
Pipeline #14003 passed with stage
in 9 minutes and 11 seconds
......@@ -41,7 +41,7 @@ function cm.chkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
Debug.Message(e:GetLabelObject():GetLabel())
--Debug.Message(e:GetLabelObject():GetLabel())
local ec=eg:GetFirst()
return e:GetLabelObject():GetLabel()==1 and (ec:IsReason(REASON_BATTLE) or (rp==1-tp and ec:IsReason(REASON_EFFECT)))
end
......
......@@ -129,7 +129,7 @@ function c71400023.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g2=Duel.SelectTarget(tp,aux.TRUE,tp,0,LOCATION_ONFIELD,1,1,nil)
g1:Merge(g2)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g1,2,0,0)
Duel.SetChainLimit(c71400023.limit(g1))
Duel.SetChainLimit(c71400023.chlimit)
end
function c71400023.op2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
......@@ -138,8 +138,7 @@ function c71400023.op2(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(sg,REASON_EFFECT)
end
end
function c71400023.limit(g)
return function (e,lp,tp)
return not g:IsContains(e:GetHandler())
end
function c71400023.chlimit(e,ep,tp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return tp==ep or not g:IsContains(e:GetHandler())
end
\ No newline at end of file
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