Commit 1a77eca9 authored by Tachibana's avatar Tachibana

得得得得得

parent a28091bb
Pipeline #11439 passed with stages
in 19 minutes and 2 seconds
......@@ -96,7 +96,7 @@ end
function costfilter(c)
return c:IsCanRemoveCounter(tp,0x1,1,REASON_COST)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_ONFIELD,0,9,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_ONFIELD,0,9,9,nil)
......@@ -106,11 +106,11 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
tc=g:GetNext()
end
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToHandAsCost,tp,0,LOCATION_GRAVE+LOCATION_ONFIELD+LOCATION_HAND,1,nil) and Duel.IsExistingMatchingCard(Card.IsAbleToHandAsCost,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,nil) end
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local mg1=Duel.GetMatchingGroup(Card.IsAbleToHandAsCost,tp,0,LOCATION_GRAVE+LOCATION_ONFIELD+LOCATION_HAND,nil)
local mg2=Duel.GetMatchingGroup(Card.IsAbleToHandAsCost,tp,LOCATION_ONFIELD+LOCATION_HAND,0,nil)
......
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