Commit 363336f8 authored by GuGu's avatar GuGu

Update c99999522.lua

parent f6302d8d
Pipeline #39067 passed with stage
in 21 seconds
......@@ -26,7 +26,7 @@ end
function c99999522.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)>0 then
local dg=Duel.GetMatchingGroup(c99999522.cfilter,tp,0,LOCATION_MZONE,nil)
local dg=Duel.GetMatchingGroup(c99999522.cfilter,tp,LOCATION_MZONE,0,nil)
if dg:GetCount()>0 and Duel.IsPlayerCanDraw(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(99999522,1)) then
Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT)
......
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