Commit 49b10cf9 authored by sidschingis's avatar sidschingis

fix

parent fd490cf5
......@@ -15,6 +15,7 @@ function c7625614.initial_effect(c)
e2:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetRange(LOCATION_SZONE)
e2:SetCondition(c7625614.atkcon)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(c7625614.atktg)
e2:SetValue(1)
......@@ -40,6 +41,9 @@ function c7625614.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Equip(tp,e:GetHandler(),tc)
end
end
function c7625614.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetEquipTarget():GetControler()==tp
end
function c7625614.atktg(e,c)
return c~=e:GetHandler():GetEquipTarget()
end
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