Commit 488f9890 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 27de67eb
......@@ -39,10 +39,13 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,3,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function s.rmfilter(c)
return c:IsAbleToRemove() and c:IsFacedown()
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_EXTRA,0,nil)
local g=Duel.GetMatchingGroup(s.rmfilter,tp,LOCATION_EXTRA,0,nil)
if g:GetCount()>0 then
local sg=g:RandomSelect(tp,3)
if Duel.Remove(sg,POS_FACEDOWN,REASON_EFFECT) then
......
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