Commit 8f69622b authored by mercury233's avatar mercury233

fix

parent c917ffb3
......@@ -10,7 +10,7 @@ function c10389794.initial_effect(c)
c:RegisterEffect(e1)
end
function c10389794.filter(c)
return c:IsFaceup() and (c:GetBaseAttack()==0 or c:GetBaseDefense()==0)
return c:IsFaceup() and (c:GetBaseAttack()==0 or (c:GetBaseDefense()==0 and c:IsDefenseAbove(0)))
end
function c10389794.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -30,7 +30,7 @@ function c11390349.val(e,c)
return Duel.GetMatchingGroupCount(c11390349.vfilter,e:GetOwnerPlayer(),LOCATION_MZONE,0,nil)*-300
end
function c11390349.filter(c)
return c:IsFaceup() and c:GetDefense()==0 and c:IsControlerCanBeChanged()
return c:IsFaceup() and c:GetDefense()==0 and c:IsDefenseAbove(0) and c:IsControlerCanBeChanged()
end
function c11390349.ctltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and c11390349.filter(chkc) end
......
......@@ -13,6 +13,7 @@ function c52339733.atkcon(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget()
return d and a:GetControler()~=d:GetControler()
and a:IsDefenseAbove(0) and d:IsDefenseAbove(0)
end
function c52339733.atkop(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker()
......
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