Commit a9c679a5 authored by TanakaKotoha's avatar TanakaKotoha

wdnmd

parent 20801c22
......@@ -26,7 +26,7 @@ function c72410760.spcostfilter(c,tp)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DINOSAUR) and not c:IsStatus(STATUS_BATTLE_DESTROYED) and Duel.GetMZoneCount(tp,c)>0
end
function c72410760.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c72410760.spcostfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,e:GetHandler())
if chk==0 then return Duel.IsExistingMatchingCard(c72410760.spcostfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,e:GetHandler(),tp)
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
......@@ -34,7 +34,7 @@ end
function c72410760.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
local g=Duel.SelectMatchingCard(tp,c72410760.spcostfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,e:GetHandler())
local g=Duel.SelectMatchingCard(tp,c72410760.spcostfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,e:GetHandler(),tp)
if Duel.Destroy(g,REASON_EFFECT)>0 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
......
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