Commit d4361801 authored by mercury233's avatar mercury233

fix

parent 29bef80a
...@@ -30,11 +30,14 @@ function c21623008.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,11 +30,14 @@ function c21623008.operation(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetDecktopGroup(tp,2) local g1=Duel.GetDecktopGroup(tp,2)
local g2=Duel.GetDecktopGroup(1-tp,2) local g2=Duel.GetDecktopGroup(1-tp,2)
g1:Merge(g2) g1:Merge(g2)
Duel.DisableShuffleCheck()
if Duel.SendtoGrave(g1,REASON_EFFECT)~=0 if Duel.SendtoGrave(g1,REASON_EFFECT)~=0
and g1:IsExists(Card.IsLocation,1,nil,LOCATION_GRAVE)
and Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_SPELL)>=3 and Duel.GetMatchingGroupCount(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_SPELL)>=3
and Duel.IsExistingMatchingCard(c21623008.filter,tp,0,LOCATION_MZONE,1,nil,tp) and Duel.IsExistingMatchingCard(c21623008.filter,tp,0,LOCATION_MZONE,1,nil,tp)
and Duel.SelectYesNo(tp,aux.Stringid(21623008,0)) then and Duel.SelectYesNo(tp,aux.Stringid(21623008,0)) then
local g=Duel.GetMatchingGroup(c21623008.filter,tp,0,LOCATION_MZONE,nil,tp) local g=Duel.GetMatchingGroup(c21623008.filter,tp,0,LOCATION_MZONE,nil,tp)
Duel.DisableShuffleCheck(false)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT) Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
end end
end end
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