Commit c7ec09ad authored by mercury233's avatar mercury233 Committed by GitHub

fix 天球の聖刻印

parent 85f7cbff
...@@ -11,6 +11,7 @@ function c24361622.initial_effect(c) ...@@ -11,6 +11,7 @@ function c24361622.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetCondition(c24361622.thcon) e1:SetCondition(c24361622.thcon)
e1:SetCost(c24361622.thcost) e1:SetCost(c24361622.thcost)
e1:SetTarget(c24361622.thtg) e1:SetTarget(c24361622.thtg)
...@@ -38,9 +39,9 @@ function c24361622.thfilter(c) ...@@ -38,9 +39,9 @@ function c24361622.thfilter(c)
return c:IsFaceup() and c:IsAbleToHand() return c:IsFaceup() and c:IsAbleToHand()
end end
function c24361622.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c24361622.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c24361622.thcfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,nil,tp) end if chk==0 then return Duel.CheckReleaseGroupEx(tp,c24361622.thcfilter,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c24361622.thcfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,1,nil,tp) local g=Duel.SelectReleaseGroupEx(tp,c24361622.thcfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c24361622.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c24361622.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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