Commit 09817919 authored by mercury233's avatar mercury233

workaround

parent 78ffe0d7
...@@ -39,7 +39,7 @@ function c75402014.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function c75402014.eqcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c75402014.eqfilter(c,tp) function c75402014.eqfilter(c,tp)
local mt=_G["c"..c:GetCode()] local mt=_G["c"..c:GetCode()]
return mt.zw_equip_monster and c:IsSetCard(0x107e) and c:IsType(TYPE_MONSTER) and not c:IsForbidden() and c:CheckUniqueOnField(tp,LOCATION_SZONE) return mt and mt.zw_equip_monster and c:IsSetCard(0x107e) and c:IsType(TYPE_MONSTER) and not c:IsForbidden() and c:CheckUniqueOnField(tp,LOCATION_SZONE)
end end
function c75402014.eqtg(e,tp,eg,ep,ev,re,r,rp,chk) function c75402014.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
......
...@@ -96,7 +96,7 @@ function c78063197.filter(c) ...@@ -96,7 +96,7 @@ function c78063197.filter(c)
end end
function c78063197.eqfilter(c) function c78063197.eqfilter(c)
local m=_G["c"..c:GetCode()] local m=_G["c"..c:GetCode()]
return c:IsFaceup() and ((c:IsSetCard(0x1110) and c:IsType(TYPE_FUSION)) or c:IsCode(64631466)) return m and c:IsFaceup() and ((c:IsSetCard(0x1110) and c:IsType(TYPE_FUSION)) or c:IsCode(64631466))
and not c:IsDisabled() and m.can_equip_monster and m.can_equip_monster(c) and not c:IsDisabled() and m.can_equip_monster and m.can_equip_monster(c)
end end
function c78063197.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c78063197.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -35,7 +35,7 @@ function c89785779.filter(c) ...@@ -35,7 +35,7 @@ function c89785779.filter(c)
end end
function c89785779.eqfilter(c) function c89785779.eqfilter(c)
local m=_G["c"..c:GetCode()] local m=_G["c"..c:GetCode()]
return c:IsFaceup() and ((c:IsSetCard(0x1110) and c:IsType(TYPE_FUSION)) or c:IsCode(64631466)) return m and c:IsFaceup() and ((c:IsSetCard(0x1110) and c:IsType(TYPE_FUSION)) or c:IsCode(64631466))
and not c:IsDisabled() and m.can_equip_monster and m.can_equip_monster(c) and not c:IsDisabled() and m.can_equip_monster and m.can_equip_monster(c)
end end
function c89785779.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c89785779.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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