Commit 71a4a1b2 authored by mercury233's avatar mercury233

fix

parent 97fb00c0
......@@ -20,7 +20,7 @@ function c100408002.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,100408101)
e2:SetCountLimit(1,100408102)
e2:SetCost(c100408002.spcost)
e2:SetTarget(c100408002.sptg)
e2:SetOperation(c100408002.spop)
......
......@@ -55,8 +55,8 @@ function c100408003.spop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function c100408003.atkcon(e,tp,eg,ep,ev,re,r,rp)
return (Duel.GetAttacker():IsControler(tp) and Duel.GetAttacker():IsSetCard(0x8e))
or (Duel.GetAttackTarget() and Duel.GetAttackTarget():IsControler(tp) and Duel.GetAttackTarget():IsSetCard(0x8e))
return Duel.GetAttackTarget() and (Duel.GetAttacker():IsControler(tp) and Duel.GetAttacker():IsSetCard(0x8e))
or (Duel.GetAttackTarget():IsControler(tp) and Duel.GetAttackTarget():IsSetCard(0x8e))
end
function c100408003.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetFlagEffect(100408003)==0
......
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