Commit a8afaff5 authored by Tachibana's avatar Tachibana

1145141919810

parent a77686bf
Pipeline #13587 passed with stages
in 29 minutes and 58 seconds
......@@ -21,11 +21,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.chcon(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetCurrentChain()
if ct<2 then return end
if not Duel.IsExistingMatchingCard(Card.IsFaceup,1-tp,LOCATION_MZONE,0,1,nil) then return false end
local te,p=Duel.GetChainInfo(ct-1,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
return te and te:GetHandler():IsSetCard(0x134) and p==tp and rp==1-tp
return te and te:GetHandler():IsSetCard(0x81b) and p==tp and rp==1-tp
and Duel.IsExistingMatchingCard(Card.IsFaceup,1-tp,LOCATION_MZONE,0,1,nil)
end
function cm.chop(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup()
......
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