Commit c1e19167 authored by mercury233's avatar mercury233

fix

parent 2ec09403
Pipeline #14456 passed with stages
in 29 seconds
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
--Script by Lyris12 --Script by Lyris12
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,68468459)
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
......
...@@ -43,8 +43,8 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,8 +43,8 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsFaceup,Card.IsSetCard),tp,LOCATION_MZONE,0,1,nil,0x289) and Duel.IsExistingMatchingCard(aux.AND(Card.IsFaceup,Card.IsSetCard),tp,LOCATION_MZONE,0,1,nil,0x289)
end end
function s.cfilter(c,tp) function s.cfilter(c,tp)
return c:IsRace(RACE_DRAGON) return c:IsRace(RACE_DRAGON) and (c:IsControler(tp) or c:IsFaceup())
and (c:IsControler(tp) or c:IsFaceup() and Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,c)) and Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,c)
end end
function s.descost(e,tp,eg,ep,ev,re,r,rp,chk) function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1) e:SetLabel(1)
......
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