Commit 1c436d65 authored by Tachibana's avatar Tachibana 🐟

str

parent f4320178
Pipeline #26853 passed with stages
in 23 minutes and 23 seconds
......@@ -31,9 +31,9 @@ function cm.thcfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsReleasable()
end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupEx(REASON_COST,tp,cm.thcfilter,1,nil) and e:GetHandler():IsAbleToHand() end
if chk==0 then return Duel.CheckReleaseGroupEx(tp,cm.thcfilter,1,nil) and e:GetHandler():IsAbleToHand() end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectReleaseGroupEx(REASON_COST,tp,cm.thcfilter,1,1,nil)
local g=Duel.SelectReleaseGroupEx(tp,cm.thcfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -78,8 +78,8 @@ function c72410090.cfilter(c,tp)
end
function c72410090.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,c72410090.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c72410090.cfilter,1,1,nil,tp)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c72410090.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c72410090.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
function c72410090.spfilter(c,e,tp,zonesf)
......
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