Commit beb61ff9 authored by nekrozar's avatar nekrozar Committed by mercury233

fix (#1113)

parent aaef0a01
......@@ -7,7 +7,6 @@ function c65500515.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCountLimit(1)
e1:SetCost(c65500515.seqcost)
e1:SetTarget(c65500515.seqtg)
e1:SetOperation(c65500515.seqop)
c:RegisterEffect(e1)
......@@ -21,10 +20,6 @@ function c65500515.initial_effect(c)
e2:SetValue(c65500515.atlimit)
c:RegisterEffect(e2)
end
function c65500515.seqcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end
function c65500515.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
local a=Duel.GetAttacker()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_CONTROL)>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