Commit e76d24e7 authored by Tachibana's avatar Tachibana

eme

parent f71118e6
Pipeline #6870 passed with stages
in 37 minutes and 20 seconds
......@@ -32,7 +32,7 @@ function c16120001.dacon(e)
return e:GetHandler():GetOverlayCount()==0
end
function c16120001.negfilter(c)
return c:IsCanOverlay()
return c:IsCanOverlay() and c:IsType(TYPE_MONSTER)
end
function c16120001.negop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -200,7 +200,7 @@ function c51562809.disop(e,tp,eg,ep,ev,re,r,rp)
end
--ef4
function c51562809.repfilter(c,tp)
return c:IsControler(tp) and c:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) and c:IsAbleToHand()
return c:IsControler(tp) and c:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) and c:IsAbleToHand() and c:GetDestination()==LOCATION_DECK
end
function c51562809.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return bit.band(r,REASON_EFFECT)~=0 and re and re:GetHandler():IsSetCard(0x351a) and eg:IsExists(c51562809.repfilter,1,nil,tp) 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