Commit 812a9886 authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent cd3e8bd9
Pipeline #27185 passed with stages
in 18 minutes and 48 seconds
No preview for this file type
......@@ -44,8 +44,8 @@ function c12008020.cfilter(c,g)
end
function c12008020.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroup()
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c12008020.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c12008020.cfilter,1,1,nil,lg)
if chk==0 then return Duel.CheckReleaseGroup(tp,c12008020.cfilter,1,nil,lg) end
local g=Duel.SelectReleaseGroup(tp,c12008020.cfilter,1,1,nil,lg)
Duel.Release(g,REASON_COST)
end
function c12008020.rmop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -64,7 +64,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.thcon2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return ( c:IsReason(REASON_EFFECT)) and c:IsPreviousPosition(POS_FACEUP)
return ( c:IsReason(REASON_EFFECT)) and c:IsPreviousPosition(POS_FACEUP)
end
function cm.thtg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) end
......@@ -74,7 +74,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(1-tp,Card.IsAbleToDeck,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
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