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

str

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