Commit 52d3935a authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12035003.lua

parent ae63a2d4
......@@ -95,6 +95,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return tt>0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then return end
Duel.Draw(tp,1,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,cm.setfilter,tp,LOCATION_HAND,0,1,1,nil)
......@@ -107,4 +108,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
end
\ No newline at end of file
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