Commit f64e0cce authored by mercury233's avatar mercury233 Committed by GitHub
parent 51113b43
...@@ -57,7 +57,6 @@ function c10000020.initial_effect(c) ...@@ -57,7 +57,6 @@ function c10000020.initial_effect(c)
e8:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e8:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e8:SetRange(LOCATION_MZONE) e8:SetRange(LOCATION_MZONE)
e8:SetCode(EVENT_SUMMON_SUCCESS) e8:SetCode(EVENT_SUMMON_SUCCESS)
e8:SetCondition(c10000020.atkcon)
e8:SetTarget(c10000020.atktg) e8:SetTarget(c10000020.atktg)
e8:SetOperation(c10000020.atkop) e8:SetOperation(c10000020.atkop)
c:RegisterEffect(e8) c:RegisterEffect(e8)
...@@ -100,11 +99,8 @@ end ...@@ -100,11 +99,8 @@ end
function c10000020.atkfilter(c,tp) function c10000020.atkfilter(c,tp)
return c:IsControler(tp) and c:IsPosition(POS_FACEUP_ATTACK) return c:IsControler(tp) and c:IsPosition(POS_FACEUP_ATTACK)
end end
function c10000020.atkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c10000020.atkfilter,1,nil,1-tp)
end
function c10000020.atktg(e,tp,eg,ep,ev,re,r,rp,chk) function c10000020.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return eg:IsExists(c10000020.atkfilter,1,nil,1-tp) end
Duel.SetTargetCard(eg) Duel.SetTargetCard(eg)
end end
function c10000020.atkop(e,tp,eg,ep,ev,re,r,rp) function c10000020.atkop(e,tp,eg,ep,ev,re,r,rp)
......
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