Commit f79dd741 authored by mercury233's avatar mercury233

fix

parent bb6ba18e
...@@ -23,7 +23,7 @@ function c35498188.initial_effect(c) ...@@ -23,7 +23,7 @@ function c35498188.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c35498188.condition(e,tp,eg,ep,ev,re,r,rp) function c35498188.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP() return Duel.IsAbleToEnterBP() or (Duel.GetCurrentPhase()>=PHASE_BATTLE_START and Duel.GetCurrentPhase()<=PHASE_BATTLE)
end end
function c35498188.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c35498188.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,e:GetHandler()) end
......
...@@ -22,7 +22,7 @@ function c99004583.initial_effect(c) ...@@ -22,7 +22,7 @@ function c99004583.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c99004583.condition(e,tp,eg,ep,ev,re,r,rp) function c99004583.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP() return Duel.IsAbleToEnterBP() or (Duel.GetCurrentPhase()>=PHASE_BATTLE_START and Duel.GetCurrentPhase()<=PHASE_BATTLE)
end end
function c99004583.target(e,tp,eg,ep,ev,re,r,rp,chk) function c99004583.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,99004583)==0 or Duel.GetFlagEffect(1-tp,99004583)==0 end if chk==0 then return Duel.GetFlagEffect(tp,99004583)==0 or Duel.GetFlagEffect(1-tp,99004583)==0 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