Commit 8294bcd6 authored by Amiya's avatar Amiya

修复

parent 058596d3
Pipeline #39213 passed with stages
in 2 minutes and 30 seconds
...@@ -17,7 +17,6 @@ function s.initial_effect(c) ...@@ -17,7 +17,6 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND) e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,id) e2:SetCountLimit(1,id)
e2:SetCondition(s.spscon)
e2:SetTarget(s.spstg) e2:SetTarget(s.spstg)
e2:SetOperation(s.spsop) e2:SetOperation(s.spsop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -36,10 +35,6 @@ function s.initial_effect(c) ...@@ -36,10 +35,6 @@ function s.initial_effect(c)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function s.spscon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
end
function s.desfilter(c,tp) function s.desfilter(c,tp)
return c:IsFaceupEx() and c:IsSetCard(0xf9) and (Duel.GetMZoneCount(tp,c)>0 or Duel.GetLocationCount(tp,LOCATION_MZONE)>0) return c:IsFaceupEx() and c:IsSetCard(0xf9) and (Duel.GetMZoneCount(tp,c)>0 or Duel.GetLocationCount(tp,LOCATION_MZONE)>0)
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