Commit 12c8e7e5 authored by Tachibana's avatar Tachibana

ndyd

parent 3a8d9c3a
Pipeline #5166 failed with stages
in 24 minutes and 15 seconds
......@@ -58,7 +58,7 @@ end
function c71402000.scop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if not (c:IsRelateToEffect(e) and tc:IsRelateToEffect(e)) or c:GetLeftScale()>=13 then return end
if not (c:IsRelateToEffect(e) and tc:IsRelateToEffect(e)) or tc:GetLeftScale()>=13 then return end
local dc=Duel.TossDice(tp,1)
local sch=math.min(13-c:GetLeftScale(),dc)
local e1=Effect.CreateEffect(c)
......@@ -120,15 +120,11 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
end
elseif dc==3 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tg=Duel.SelectMatchingCard(tp,c71402000.filter2,tp,LOCATION_DECK,0,1,1,nil)
if tg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=tg:Select(tp,1,1,nil):GetFirst()
Duel.SendtoGrave(sg,REASON_EFFECT)
end
local g=Duel.SelectMatchingCard(tp,c71402000.filter2,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then Duel.SendtoGrave(g,REASON_EFFECT)>0 end
elseif dc==4 then
local thg=Duel.GetMatchingGroup(c71402000.filter3,tp,LOCATION_GRAVE,0,nil)
if thg:GetCount()>0 then
if thg:GetCount()>0
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sc=thg:Select(tp,1,1,nil):GetFirst()
Duel.SendtoHand(sc,nil,REASON_EFFECT)
......
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