Commit 715c26f9 authored by Tachibana's avatar Tachibana

tnndx

parent b23f2e8f
......@@ -54,7 +54,7 @@ function c21520142.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c21520142.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<0 then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
local g=Duel.GetMatchingGroup(c21520142.spfilter,tp,LOCATION_DECK,0,nil,e,tp,tc)
if g:GetCount()>0 then
......
......@@ -121,8 +121,8 @@ function c21520237.igop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(c,REASON_EFFECT)
end
Duel.ShuffleDeck(tp)
Duel.BreakEffect()
if not Duel.IsExistingMatchingCard(c21520237.igfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) then
Duel.BreakEffect()
Duel.Damage(tp,1500,REASON_RULE)
end
end
......
......@@ -121,8 +121,8 @@ function c21520238.igop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(c,REASON_EFFECT)
end
Duel.ShuffleDeck(tp)
Duel.BreakEffect()
if not Duel.IsExistingMatchingCard(c21520238.igfilter2,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) then
Duel.BreakEffect()
Duel.Damage(tp,2000,REASON_RULE)
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