Commit d511b907 authored by POLYMER's avatar POLYMER

fix

parent 8b79006f
...@@ -35,7 +35,7 @@ function s.thfilter(c,code) ...@@ -35,7 +35,7 @@ function s.thfilter(c,code)
return c:IsSetCard(0x5a7d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and not c:IsCode(code) return c:IsSetCard(0x5a7d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and not c:IsCode(code)
end end
function s.desfilter(c,tp) function s.desfilter(c,tp)
return c:IsSetCard(0x5a7d) and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,c:GetCode()) return c:IsSetCard(0x5a7d) and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,c:GetCode()) and c:IsFaceupEx()
end end
function s.e1tg(e,tp,eg,ep,ev,re,r,rp,chk) function s.e1tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.desfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,e:GetHandler(),tp) end if chk==0 then return Duel.IsExistingMatchingCard(s.desfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,e:GetHandler(),tp) end
......
...@@ -62,7 +62,7 @@ function c75081023.ovop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,7 +62,7 @@ function c75081023.ovop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and not tc:IsImmuneToEffect(e) and g:GetCount()>0 then if tc:IsRelateToEffect(e) and not tc:IsImmuneToEffect(e) and g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
local og=sg:GetOverlayGroup() local og=sg:GetFirst():GetOverlayGroup()
if og:GetCount()>0 then if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE) Duel.SendtoGrave(og,REASON_RULE)
end 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