Commit 0f2a9dab authored by salix5's avatar salix5

fix Uk-P.U.N.K.娑楽斎

parent 6a52694a
...@@ -21,6 +21,7 @@ function c13258285.initial_effect(c) ...@@ -21,6 +21,7 @@ function c13258285.initial_effect(c)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,13258286) e2:SetCountLimit(1,13258286)
e2:SetCondition(c13258285.sccon) e2:SetCondition(c13258285.sccon)
e2:SetCost(c13258285.sccost)
e2:SetTarget(c13258285.sctarg) e2:SetTarget(c13258285.sctarg)
e2:SetOperation(c13258285.scop) e2:SetOperation(c13258285.scop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -87,13 +88,13 @@ function c13258285.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,13 +88,13 @@ function c13258285.spop(e,tp,eg,ep,ev,re,r,rp)
tc:CompleteProcedure() tc:CompleteProcedure()
end end
end end
function c13258285.sccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
function c13258285.sccost(e,tp,eg,ep,ev,re,r,rp,chk) function c13258285.sccost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,600) end if chk==0 then return Duel.CheckLPCost(tp,600) end
Duel.PayLPCost(tp,600) Duel.PayLPCost(tp,600)
end end
function c13258285.sccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
function c13258285.syncfilter(c) function c13258285.syncfilter(c)
return c:IsSetCard(0x171) and c:IsSynchroSummonable(nil) return c:IsSetCard(0x171) and c:IsSynchroSummonable(nil)
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