Commit 11440db3 authored by Tachibana's avatar Tachibana

ybb

parent f9f6a803
...@@ -43,7 +43,7 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()<=0 then return end if g:GetCount()<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
local tc=g:Select(1-tp,1,1,nil):GetFirst() local tc=g:Select(1-tp,1,1,nil):GetFirst()
if tc and Duel.GetControl(tc,tp)~=0 and g:RemoveCard(tc):GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if tc and Duel.GetControl(tc,tp)~=0 and g:RemoveCard(tc) and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.BreakEffect() Duel.BreakEffect()
local sc=g:Select(tp,1,1,nil):GetFirst() local sc=g:Select(tp,1,1,nil):GetFirst()
if sc and tc then if sc and tc then
......
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