Commit cd000a23 authored by Momobako's avatar Momobako

Push by Appveyor

parent 5b17e568
......@@ -2,6 +2,7 @@
local m=37564427
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end)
cm.Senya_name_with_prism=true
function cm.initial_effect(c)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SEASERPENT),2,2)
c:EnableReviveLimit()
......
......@@ -29,9 +29,9 @@ function cm.rfilter(c,e)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsAbleToDeck()
end
function cm.sfilter(c,e,tp,g)
return Senya.check_set_prism(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (not g or cm.scheck(g,c))
return Senya.check_set_prism(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (not g or cm.scheck(g,c,tp))
end
function cm.scheck(g,c)
function cm.scheck(g,c,tp)
if c:IsLocation(LOCATION_EXTRA) then return Duel.GetLocationCountFromEx(tp,tp,g,c)>0 end
return Duel.GetLocationCount(tp,LOCATION_MZONE)+g:GetCount()>0
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