Commit a80f37ee authored by mercury233's avatar mercury233

fix

parent 80c284f7
...@@ -83,8 +83,8 @@ function c101012088.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,8 +83,8 @@ function c101012088.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c101012088.eqfilter(c,ec,tp) function c101012088.eqfilter(c,ec,tp)
return ((c:IsType(TYPE_MONSTER) and c:IsSetCard(0x13f)) or c:IsCode(101012089)) and not c:IsForbidden() return (c:IsType(TYPE_MONSTER) and c:IsSetCard(0x13f) or c:IsCode(101012089) and c:CheckEquipTarget(ec))
and c:CheckEquipTarget(ec) and c:CheckUniqueOnField(tp,LOCATION_SZONE) and not c:IsForbidden() and c:CheckUniqueOnField(tp,LOCATION_SZONE)
end end
function c101012088.cfilter(c,tp) function c101012088.cfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x13f) and Duel.IsExistingMatchingCard(c101012088.eqfilter,tp,LOCATION_DECK,0,1,nil,c,tp) return c:IsFaceup() and c:IsSetCard(0x13f) and Duel.IsExistingMatchingCard(c101012088.eqfilter,tp,LOCATION_DECK,0,1,nil,c,tp)
......
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