Commit 7133b939 authored by Momobako's avatar Momobako

Push by Appveyor

parent 9fb8cfe3
...@@ -74,10 +74,10 @@ function c33700072.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,10 +74,10 @@ function c33700072.op(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmDecktop(tp,5) Duel.ConfirmDecktop(tp,5)
local g=Duel.GetDecktopGroup(tp,5) local g=Duel.GetDecktopGroup(tp,5)
if g:GetCount()>0 then if g:GetCount()>0 then
if g:GetClassCount(Card.GetCode)==g:GetCount() then if g:GetClassCount(Card.GetCode)==g:GetCount() and g then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:FilterSelect(tp,Card.IsType,1,1,nil,TYPE_MONSTER) local sg=g:FilterSelect(tp,Card.IsType,1,1,nil,TYPE_MONSTER)
if sg:GetFirst():IsAbleToRemove() then if sg:GetCount()>0 and sg:GetFirst():IsAbleToRemove() then
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT) Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
sg:GetFirst():RegisterFlagEffect(33700072,RESET_EVENT+RESET_TOGRAVE+RESET_TOHAND+RESET_TODECK+RESET_TOFIELD,0,1) sg:GetFirst():RegisterFlagEffect(33700072,RESET_EVENT+RESET_TOGRAVE+RESET_TOHAND+RESET_TODECK+RESET_TOFIELD,0,1)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
......
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