Commit b25f68a4 authored by POLYMER's avatar POLYMER

fix

parent 933c0c7b
...@@ -21,12 +21,7 @@ end ...@@ -21,12 +21,7 @@ end
function cm.filter3(c,ct) function cm.filter3(c,ct)
return c:GetFlagEffect(m)>ct return c:GetFlagEffect(m)>ct
end end
function cm.draw(p,ct)
return Duel.Draw(p,ct,REASON_EFFECT)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local co=coroutine.create(cm.draw)
coroutine.resume(co,tp,3)
local sg=Duel.GetMatchingGroup(cm.filter2,tp,LOCATION_ONFIELD,0,nil,e) local sg=Duel.GetMatchingGroup(cm.filter2,tp,LOCATION_ONFIELD,0,nil,e)
if sg:IsExists(cm.filter3,1,nil,1) and not cm[1] then if sg:IsExists(cm.filter3,1,nil,1) and not cm[1] then
cm[1]=true cm[1]=true
......
...@@ -144,7 +144,7 @@ function c67642779.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -144,7 +144,7 @@ function c67642779.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local ct=e:GetLabel() local ct=e:GetLabel()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local tg=Duel.SelectTarget(tp,c67642779.desfilter,tp,LOCATION_SZONE,0,ct,ct,nil) local tg=Duel.SelectTarget(tp,c67642779.desfilter,tp,LOCATION_SZONE,0,ct,ct,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,tg,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TOHAND,tg,tg:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,ct) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,ct)
end end
function c67642779.desop(e,tp,eg,ep,ev,re,r,rp) function c67642779.desop(e,tp,eg,ep,ev,re,r,rp)
......
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