Commit ef856599 authored by nekrozar's avatar nekrozar

fix equip

parent df6b9c51
......@@ -47,7 +47,7 @@ function c25682811.eqop(e,tp,eg,ep,ev,re,r,rp)
if c:IsFacedown() or not c:IsRelateToEffect(e) then return end
local tc=sg:GetFirst()
while tc do
Duel.Equip(tp,tc,c,false)
Duel.Equip(tp,tc,c,false,true)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_OWNER_RELATE)
......@@ -57,6 +57,7 @@ function c25682811.eqop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e1)
tc=sg:GetNext()
end
Duel.EquipComplete()
end
function c25682811.eqlimit(e,c)
return e:GetOwner()==c
......
......@@ -75,7 +75,7 @@ function c35906693.eqop(e,tp,eg,ep,ev,re,r,rp)
local sg=g:SelectSubGroup(tp,c35906693.eqcheck,false,1,ft)
local ec=sg:GetFirst()
while ec do
Duel.Equip(tp,ec,tc)
Duel.Equip(tp,ec,tc,true,true)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_EQUIP_LIMIT)
......@@ -86,6 +86,7 @@ function c35906693.eqop(e,tp,eg,ep,ev,re,r,rp)
ec:RegisterEffect(e1)
ec=sg:GetNext()
end
Duel.EquipComplete()
end
function c35906693.eqlimit(e,c)
return c==e:GetLabelObject()
......
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