Commit 627439da authored by Tachibana's avatar Tachibana

ndyd

parent 7ef85837
Pipeline #4495 passed with stages
in 18 minutes and 43 seconds
......@@ -11,10 +11,11 @@ function HakaShiro.SPSummoncon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local cc=Duel.GetFlagEffect(tp,12048004)*2
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(Card.IsAbleToDeckAsCost,tp,LOCATION_GRAVE,0,5-cc,c)
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and ( cc<3 and Duel.IsExistingMatchingCard(Card.IsAbleToDeckAsCost,tp,LOCATION_GRAVE,0,5-cc,c) or cc>2 )
end
function HakaShiro.SPSummonop(e,tp,eg,ep,ev,re,r,rp,c)
local cc=Duel.GetFlagEffect(tp,12048004)*2
if cc>2 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeckAsCost,tp,LOCATION_GRAVE,0,5-cc,5-cc,c)
Duel.SendtoDeck(g,nil,0,REASON_COST)
......
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