Commit 3fa8f360 authored by Tachibana's avatar Tachibana

ybb

parent 4eceaeaa
Pipeline #10949 passed with stages
in 28 minutes and 38 seconds
...@@ -59,6 +59,9 @@ function cm.condition(e,tp) ...@@ -59,6 +59,9 @@ function cm.condition(e,tp)
return Duel.GetTurnPlayer()==tp and Duel.GetCurrentChain()==0 return Duel.GetTurnPlayer()==tp and Duel.GetCurrentChain()==0
and ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE and ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE
end end
function cm.thcheck(c)
return c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thcheck,tp,LOCATION_EXTRA,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.thcheck,tp,LOCATION_EXTRA,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_EXTRA)
......
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