Commit e48d161c authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 45278ba3
...@@ -19,7 +19,7 @@ function c65001025.initial_effect(c) ...@@ -19,7 +19,7 @@ function c65001025.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--draw --draw
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(65001025,0)) e3:SetDescription(aux.Stringid(65001025,1))
e3:SetCategory(CATEGORY_DRAW) e3:SetCategory(CATEGORY_DRAW)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
...@@ -27,7 +27,7 @@ function c65001025.initial_effect(c) ...@@ -27,7 +27,7 @@ function c65001025.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCountLimit(1,65001026) e3:SetCountLimit(1,65001026)
e3:SetCondition(c65001025.con) e3:SetCondition(c65001025.con)
e3:SetCost(c65001025.tg) e3:SetCost(c65001025.cost)
e3:SetTarget(c65001025.tg) e3:SetTarget(c65001025.tg)
e3:SetOperation(c65001025.op) e3:SetOperation(c65001025.op)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
function c65001025.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c65001025.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65001025.costfil,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65001025.costfil,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,c65001025.costfil,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65001025.costfil,tp,LOCATION_MZONE,0,1,1,nil)
Duel.ChangePosition(g,POS_FACEDOWN_DEFENSE) Duel.ChangePosition(g,POS_FACEUP_DEFENSE)
end end
function c65001025.tg(e,tp,eg,ep,ev,re,r,rp,chk) function c65001025.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) 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