Commit fc34fc2b authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent ce4e0651
......@@ -9,7 +9,7 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_HAND+LOCATION_MZONE)
e1:SetCountLimit(1+10000)
e1:SetCountLimit(1,id+10000)
e1:SetLabel(0)
e1:SetCondition(s.condition)
e1:SetTarget(s.target)
......
......@@ -3,11 +3,10 @@ local s,id,o=GetID()
Duel.LoadScript("c33201450.lua")
function s.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,2,2,s.ovfilter,aux.Stringid(id,0),99,s.xyzop)
aux.AddXyzProcedure(c,nil,2,2,s.ovfilter,aux.Stringid(id,0),2,s.xyzop)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
......@@ -26,7 +25,6 @@ function s.initial_effect(c)
e2:SetOperation(s.tgop)
c:RegisterEffect(e2)
end
s.VHisc_hdst=true
function s.ovfilter(c)
return c:IsFaceup() and VHisc_HDST.nck(c) and not c:IsCode(id)
......@@ -59,7 +57,6 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and ct then
local sg=g:RandomSelect(tp,ct)
Duel.ConfirmCards(tp,sg)
Duel.ShuffleHand(1-tp)
local tc=sg:GetFirst()
while tc do
if VHisc_HDST.nck(tc) then Duel.Destroy(tc,REASON_EFFECT) end
......@@ -75,6 +72,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
end
tc=sg:GetNext()
end
Duel.ShuffleHand(1-tp)
end
end
function s.fgfilter(c,code)
......
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