Commit 282a8897 authored by Tachibana's avatar Tachibana

watele

parent f40601e0
Pipeline #6680 failed with stages
in 20 minutes and 37 seconds
......@@ -131,7 +131,7 @@ function c85400000.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c85400000.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SendtoHand(c,nil,REASON_EFFECT)~=0
if c:IsRelateToEffect(e) and Duel.SendtoHand(c,nil,REASON_EFFECT)~=0 and Duel.ConfirmCards(1-tp,c)
and c:IsLocation(LOCATION_HAND) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c85400000.filter),tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil,e,tp)
......
......@@ -120,6 +120,7 @@ function c85401440.oppp(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c85401440.glq,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
function c85401440.recd(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -107,6 +107,7 @@ function c85401480.oppp(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c85401480.glq,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
function c85401480.recd(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -121,9 +121,11 @@ function c85401890.opbz(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetMatchingGroupCount(c85401890.x1,tp,LOCATION_ONFIELD,0,nil)>0 then
local g=Duel.SelectMatchingCard(tp,c85401890.fllll,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
else
local g=Duel.SelectMatchingCard(tp,c85401890.fllll,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
function c85401890.costxs(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -146,9 +148,11 @@ function c85401890.opxs(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetMatchingGroupCount(c85401890.x,tp,LOCATION_ONFIELD,0,nil)>0 then
local g=Duel.SelectMatchingCard(tp,c85401890.flll,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
else
local g=Duel.SelectMatchingCard(tp,c85401890.flll,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
......
......@@ -4,7 +4,7 @@ function c85402210.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_SPSUM_PARAM)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_SPSUM_PARAM)
e2:SetRange(LOCATION_HAND)
e2:SetTargetRange(POS_FACEUP,0)
c:RegisterEffect(e2)
......@@ -94,7 +94,7 @@ function c85402210.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if tg:GetCount()>0 then
local tc=tg:GetFirst()
if tc:GetDefense()+tc:GetLink()*700<=e:GetHandler():GetAttack()-1200 then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
end
end
end
......@@ -135,7 +135,7 @@ function c85402210.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if tg:GetCount()>0 then
local tc=tg:GetFirst()
if tc:GetDefense()+tc:GetLink()*700<=e:GetHandler():GetAttack()-1200 then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
end
end
end
......
......@@ -130,6 +130,7 @@ function c85402220.ac(e,tp,eg,ep,ev,re,r,rp)
local ggg=Duel.SelectMatchingCard(tp,c85402220.f2,tp,LOCATION_GRAVE,0,1,1,nil)
if ggg:GetCount()>0 then
Duel.SendtoHand(ggg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,ggg)
end
end
end
......
......@@ -83,6 +83,7 @@ function c85402400.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c85402400.f,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
e:GetHandler():AddCounter(0x1e41,1)
end
function c85402400.ct1(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -169,6 +169,7 @@ function c85402430.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c85402430.f,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
if sel==2 then
e:GetHandler():AddCounter(0x1e41,1)
......
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