Commit d8ae38a2 authored by mercury233's avatar mercury233 Committed by GitHub
parent 1d45af36
...@@ -52,7 +52,7 @@ function c2645637.atkcon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,7 +52,7 @@ function c2645637.atkcon2(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c2645637.spfilter,1,nil) and not eg:IsContains(e:GetHandler()) return eg:IsExists(c2645637.spfilter,1,nil) and not eg:IsContains(e:GetHandler())
end end
function c2645637.atkfilter(c) function c2645637.atkfilter(c)
return c:IsFaceup() and not (c:IsAttack(0) and c:IsDisabled()) return c:IsFaceup() and c:GetAttack()>0
end end
function c2645637.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c2645637.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -64,7 +64,7 @@ end ...@@ -64,7 +64,7 @@ end
function c2645637.atkop(e,tp,eg,ep,ev,re,r,rp) function c2645637.atkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFaceup() then if tc:IsRelateToEffect(e) and tc:IsFaceup() and tc:GetAttack()>0 then
Duel.NegateRelatedChain(tc,RESET_TURN_SET) Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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