Commit d5343bb1 authored by nekrozar's avatar nekrozar Committed by DailyShana

fix Dark Advance

merge #338
parent 50d8f413
...@@ -14,7 +14,7 @@ function c97001138.initial_effect(c) ...@@ -14,7 +14,7 @@ function c97001138.initial_effect(c)
end end
function c97001138.condition(e,tp,eg,ep,ev,re,r,rp) function c97001138.condition(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2 or ph==PHASE_BATTLE return ph==PHASE_MAIN1 or (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_MAIN2
end end
function c97001138.thfilter(c) function c97001138.thfilter(c)
return c:IsAttackAbove(2400) and c:GetDefence()==1000 and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsAttackAbove(2400) and c:GetDefence()==1000 and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
......
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