Commit 9d9dc38b authored by Tachibana's avatar Tachibana

nmbd

parent d4f64c84
...@@ -28,9 +28,9 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,9 +28,9 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return false end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return false end
if e:GetLabel()~=0 then if e:GetLabel()~=0 then
e:SetLabel(0) e:SetLabel(0)
return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_HAND,0,1,nil)
else else
return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) and and Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_HAND,0,1,nil)
end end
end end
if e:GetLabel()~=0 then if e:GetLabel()~=0 then
......
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