Commit 1c436d65 authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent f4320178
...@@ -31,9 +31,9 @@ function cm.thcfilter(c) ...@@ -31,9 +31,9 @@ function cm.thcfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsReleasable() return c:IsType(TYPE_MONSTER) and c:IsReleasable()
end end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk) 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) 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) Duel.Release(g,REASON_COST)
end 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)
......
...@@ -78,8 +78,8 @@ function c72410090.cfilter(c,tp) ...@@ -78,8 +78,8 @@ function c72410090.cfilter(c,tp)
end end
function c72410090.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c72410090.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) 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 if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,c72410090.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c72410090.cfilter,1,1,nil,tp) local g=Duel.SelectReleaseGroup(tp,c72410090.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c72410090.spfilter(c,e,tp,zonesf) 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