Commit 0038fba9 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1629)

parent 7c16f8bf
......@@ -31,9 +31,10 @@ function c97970833.activate(e,tp,eg,ep,ev,re,r,rp)
fc=Duel.GetFieldCard(1-tp,LOCATION_FZONE,0)
local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true)
if fc and fc:IsFaceup() and Duel.IsPlayerCanDraw(1-tp,1) and Duel.SelectYesNo(tp,aux.Stringid(97970833,0)) then
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
if fc and fc:IsFaceup() and Duel.IsPlayerCanDraw(1-tp,1) and Duel.SelectYesNo(1-tp,aux.Stringid(97970833,0)) then
Duel.BreakEffect()
Duel.Draw(1-tp,1,REASON_EFFECT)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
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