Commit 3931d638 authored by argon.sun's avatar argon.sun

fix

parent 372481af
......@@ -148,6 +148,6 @@ end
function c24857466.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -17,7 +17,7 @@ function c26593852.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local tc=Duel.GetAttacker()
if tc==c then tc=Duel.GetAttackTarget() end
if chk==0 then return tc and tc:IsFaceup() and tc:IsAttribute(0x1f) end
if chk==0 then return tc and tc:IsFaceup() and tc:IsAttribute(0x5f) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end
function c26593852.desop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -26,7 +26,7 @@ function c92901944.cfilter(c,tp)
and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
end
function c92901944.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c92901944.cfilter,1,nil,tp)
return eg:IsExists(c92901944.cfilter,1,e:GetHandler(),tp)
end
function c92901944.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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