Commit ff430afa authored by salix5's avatar salix5
parent 8cf513f4
...@@ -73,8 +73,8 @@ function c18175965.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -73,8 +73,8 @@ function c18175965.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c18175965.spop(e,tp,eg,ep,ev,re,r,rp) function c18175965.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)>0 then
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP) c:CompleteProcedure()
end end
end end
function c18175965.filter(c,ec) function c18175965.filter(c,ec)
...@@ -105,7 +105,7 @@ end ...@@ -105,7 +105,7 @@ end
function c18175965.spop2(e,tp,eg,ep,ev,re,r,rp) function c18175965.spop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.DiscardHand(tp,nil,1,1,REASON_EFFECT)==0 then return end if Duel.DiscardHand(tp,nil,1,1,REASON_EFFECT)==0 then return end
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)>0 then
Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP) c:CompleteProcedure()
end end
end end
...@@ -40,7 +40,7 @@ function c24658418.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c24658418.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1
end end
function c24658418.mfilter(c) function c24658418.mfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7b) and not c:IsType(TYPE_TOKEN) return c:IsFaceup() and c:IsSetCard(0x7b) and not c:IsType(TYPE_TOKEN+TYPE_XYZ)
end end
function c24658418.xyzfilter(c,mg) function c24658418.xyzfilter(c,mg)
return c:IsSetCard(0x7b) and c:IsXyzSummonable(mg) return c:IsSetCard(0x7b) and c:IsXyzSummonable(mg)
......
...@@ -42,7 +42,7 @@ function c80280737.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function c80280737.activate(e,tp,eg,ep,ev,re,r,rp)
local code=e:GetLabel() local code=e:GetLabel()
local tcode=c80280737.list[code] local tcode=c80280737.list[code]
local tc=Duel.GetFirstMatchingCard(c80280737.filter2,tp,LOCATION_DECK,0,nil,tcode,e,tp) local tc=Duel.GetFirstMatchingCard(c80280737.filter2,tp,LOCATION_DECK,0,nil,tcode,e,tp)
if tc and Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP_ATTACK) then if tc and Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP_ATTACK)>0 then
tc:CompleteProcedure() tc:CompleteProcedure()
end end
end end
...@@ -68,12 +68,12 @@ function c8062132.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,12 +68,12 @@ function c8062132.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c8062132.target(e,tp,eg,ep,ev,re,r,rp,chk) function c8062132.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,true) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c8062132.operation(e,tp,eg,ep,ev,re,r,rp) function c8062132.operation(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,true,true,POS_FACEUP) Duel.SpecialSummon(e:GetHandler(),0,tp,tp,true,false,POS_FACEUP)
end end
end end
function c8062132.ctcon(e,tp,eg,ep,ev,re,r,rp) function c8062132.ctcon(e,tp,eg,ep,ev,re,r,rp)
......
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