Commit c476e601 authored by VanillaSalt's avatar VanillaSalt

fix

parent c7bfaa22
......@@ -37,6 +37,10 @@ function c40044918.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if sel==3 then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(40044918,0))
sel=Duel.SelectOption(tp,aux.Stringid(40044918,1),aux.Stringid(40044918,2))+1
elseif sel==1 then
Duel.SelectOption(tp,aux.Stringid(40044918,1))
else
Duel.SelectOption(tp,aux.Stringid(40044918,2))
end
e:SetLabel(sel)
if sel==1 then
......
......@@ -77,6 +77,12 @@ function c81587028.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c81587028.descon(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject()
if not g:IsExists(c81587028.desfilter,1,nil) then
g:DeleteGroup()
e:Reset()
return false
end
return Duel.GetTurnPlayer()==tp and Duel.GetTurnCount()~=e:GetLabel()
end
function c81587028.desfilter(c)
......
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