Commit b3dbb8b5 authored by Grajade's avatar Grajade

Update c22201301.lua

parent 7b6ccddf
...@@ -26,9 +26,10 @@ function c22201301.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -26,9 +26,10 @@ function c22201301.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsPreviousLocation(LOCATION_SZONE) then return end
if c:IsRelateToEffect(e) or not c:IsReason(REASON_DESTROY) then return end if c:IsRelateToEffect(e) or not c:IsReason(REASON_DESTROY) then return end
if Duel.GetMZoneCount(tp)>0 and tc:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,false) and Duel.SelectYesNo(tp,aux.Stringid(22201301,1)) then if Duel.GetMZoneCount(tp)>0 and tc:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) and Duel.SelectYesNo(tp,aux.Stringid(22201301,1)) then
Duel.SpecialSummon(tc,SUMMON_TYPE_RITUAL,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)
tc:CompleteProcedure() tc:CompleteProcedure()
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