Commit 133e3024 authored by sidschingis's avatar sidschingis

fix equip target

Fixed being able to equip non Monster "Number" cards (such as the new "Number Wall"
parent b620d17b
......@@ -29,7 +29,7 @@ function c9161357.eqcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ
end
function c9161357.filter(c)
return c:IsSetCard(0x48)
return c:IsSetCard(0x48) and c:IsType(TYPE_MONSTER)
end
function c9161357.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c9161357.filter(chkc) 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