Commit 6c3a9c02 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c79250035.lua

parent 4401191e
Pipeline #30186 canceled with stages
in 1 minute and 6 seconds
......@@ -115,13 +115,13 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.chfilter1(c,e)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1) and c:IsCanBeEffectTarget(e)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1) and c:IsCanBeEffectTarget(e) and not c:IsType(TYPE_LINK+TYPE_XYZ)
end
function s.chfilter2(c)
return c:IsFaceup() and c:IsType(TYPE_MONSTER) and c:IsLevelAbove(1)
end
function s.chtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return s.chfilter1(chkc) and chkc:IsControler(tp) end
if chkc then return c.chfilter1() and chkc:IsControler(tp) end
if chk==0 then return Duel.IsExistingMatchingCard(s.chfilter1,tp,LOCATION_MZONE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,s.lvfilter,tp,LOCATION_MZONE,0,1,1,nil,e)
......
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