Commit 355b7669 authored by 森野さくら's avatar 森野さくら 🐟

update

parent 24332c4d
......@@ -29,7 +29,7 @@ function cm.cfilter(c)
return c:IsLevel(4) and c:IsAbleToRemoveAsCost()
end
function cm.ovfilter(c)
return c:IsFaceup() and c:IsRankBelow(4)
return c:IsFaceup() and c:IsRankBelow(4) and c:IsType(TYPE_XYZ) and c:IsSetCard(0x777)
end
function cm.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,m)==0 and Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
......
......@@ -51,7 +51,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
function cm.matfilter(c)
return c:IsSetCard(0x777) and c:IsRank(4)
return c:IsRank(4)
end
function cm.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) or (bit.band(st,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ and not se)
......
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