Commit 773868af authored by dammy63's avatar dammy63 Committed by DailyShana

fix ダイプレクサ・キマイラ (#1183)

add "Is Able To EnterBP"
parent 0d701623
...@@ -9,6 +9,7 @@ function c78084378.initial_effect(c) ...@@ -9,6 +9,7 @@ function c78084378.initial_effect(c)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetCondition(c78084378.con)
e1:SetCost(c78084378.cost) e1:SetCost(c78084378.cost)
e1:SetOperation(c78084378.operation) e1:SetOperation(c78084378.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -25,6 +26,9 @@ function c78084378.initial_effect(c) ...@@ -25,6 +26,9 @@ function c78084378.initial_effect(c)
e2:SetOperation(c78084378.thop) e2:SetOperation(c78084378.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c78084378.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP()
end
function c78084378.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c78084378.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,nil,RACE_CYBERSE) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,nil,RACE_CYBERSE) end
local g=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,nil,RACE_CYBERSE) local g=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,nil,RACE_CYBERSE)
......
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