Commit abb8a8d2 authored by nanahira's avatar nanahira

fix

parent a0d06bed
......@@ -51,8 +51,8 @@ function cm.eqcon1(e,tp,eg,ep,ev,re,r,rp)
end
function cm.eqtg1(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local d=Duel.GetAttackTarget()
if chk==0 then return d and d==c and d and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(Card.IsType,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,nil,TYPE_MONSTER) end
local d=Duel.GetAttacker()
if chk==0 then return d==c and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(Card.IsType,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,nil,TYPE_MONSTER) end
Duel.SetChainLimit(function(sce,scep,sctp)return scep==sctp end)
end
function cm.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -100,13 +100,3 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
else return false end
end
--yl_testok
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