Commit 10a9d736 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent becc53bb
...@@ -64,7 +64,7 @@ function s.repfilter(c) ...@@ -64,7 +64,7 @@ function s.repfilter(c)
end end
function s.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return eg:IsExists(s.defilter,1,nil,tp) if chk==0 then return eg:IsExists(s.defilter,1,nil,tp) and Duel.GetFlagEffect(tp,id)==0
and c:GetEquipGroup():FilterCount(s.repfilter,nil)>0 end and c:GetEquipGroup():FilterCount(s.repfilter,nil)>0 end
return Duel.SelectEffectYesNo(tp,c,96) return Duel.SelectEffectYesNo(tp,c,96)
end end
...@@ -81,6 +81,7 @@ function s.desrepop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,6 +81,7 @@ function s.desrepop(e,tp,eg,ep,ev,re,r,rp)
local g=eqg:Select(Card.IsAbleToGrave,1,1,nil) local g=eqg:Select(Card.IsAbleToGrave,1,1,nil)
Duel.SendtoGrave(g,REASON_EFFECT+REASON_REPLACE) Duel.SendtoGrave(g,REASON_EFFECT+REASON_REPLACE)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1)
end end
function s.tohand(c) function s.tohand(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
......
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