Commit 30973c61 authored by Nemo Ma's avatar Nemo Ma

bugfix

parent 421a68fe
......@@ -90,7 +90,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
Duel.BreakEffect()
Duel.ChangePosition(ec,POS_FACEUP_DEFENSE)
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SelectYesNo(aux.Stringid(m,1)) then
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
local s=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0)
local nseq=0
if s==1 then nseq=0
......
......@@ -52,6 +52,7 @@ function c9980676.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end
function c9980676.thop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tg=Duel.GetFirstMatchingCard(c9980676.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil)
if tg then
Duel.SendtoHand(tg,nil,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