Commit e68b538b authored by fallenstardust's avatar fallenstardust

fix LEDE-JP017 Script

parent 59283887
...@@ -63,7 +63,7 @@ function c101204017.indtg(e,c) ...@@ -63,7 +63,7 @@ function c101204017.indtg(e,c)
end end
function c101204017.sccon(e,tp,eg,ep,ev,re,r,rp) function c101204017.sccon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return not e:GetHandler():IsStatus(STATUS_CHAINING) and (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) return ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE
end end
function c101204017.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c101204017.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,e:GetHandler()) 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