Commit d4493f01 authored by salix5's avatar salix5

Merge pull request #1427 from nekrozar/patch-2

fix Necro Gardna
parents ada5c2af 77189157
...@@ -13,8 +13,7 @@ function c4906301.initial_effect(c) ...@@ -13,8 +13,7 @@ function c4906301.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c4906301.condition(e,tp,eg,ep,ev,re,r,rp) function c4906301.condition(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() return Duel.GetTurnPlayer()~=tp and (Duel.IsAbleToEnterBP() or Duel.GetCurrentPhase()==PHASE_BATTLE)
return Duel.GetTurnPlayer()~=tp and ph~=PHASE_MAIN2 and ph~=PHASE_END
end end
function c4906301.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c4906301.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
...@@ -33,5 +32,6 @@ function c4906301.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,5 +32,6 @@ function c4906301.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c4906301.disop(e,tp,eg,ep,ev,re,r,rp) function c4906301.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,4906301)
Duel.NegateAttack() Duel.NegateAttack()
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