Commit 149199a4 authored by wyykak's avatar wyykak

multiple fix

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 421392bf
...@@ -44,7 +44,7 @@ function c60151303.initial_effect(c) ...@@ -44,7 +44,7 @@ function c60151303.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c60151303.tgfilter(c) function c60151303.tgfilter(c)
return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() and c:IsLevel(3)
end end
function c60151303.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c60151303.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c60151303.tgfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c60151303.tgfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -35,7 +35,7 @@ function c60151305.initial_effect(c) ...@@ -35,7 +35,7 @@ function c60151305.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151305.tgfilter(c) function c60151305.tgfilter(c)
return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and c:IsLevel(3)
end end
function c60151305.tgfilter2(c) function c60151305.tgfilter2(c)
return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsSetCard(0x252a) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
......
...@@ -49,6 +49,12 @@ function c70064.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,6 +49,12 @@ function c70064.thop(e,tp,eg,ep,ev,re,r,rp)
--Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) --Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local dg=Duel.SelectMatchingCard(tp,c70064.xyzfilter,tp,0,LOCATION_ONFIELD,1,5,nil) local dg=Duel.SelectMatchingCard(tp,c70064.xyzfilter,tp,0,LOCATION_ONFIELD,1,5,nil)
local g=Duel.SelectMatchingCard(tp,c70064.filter,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c70064.filter,tp,LOCATION_MZONE,0,1,1,nil)
dg.ForEach(function(dgc)
local og=dgc:GetOverlayGroup()
if #og>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
end)
Duel.Overlay(g:GetFirst(),dg) Duel.Overlay(g:GetFirst(),dg)
end end
end 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