Commit b172bf08 authored by Huangnan's avatar Huangnan

Update c101202075.lua

parent 31b0eec1
Pipeline #23083 canceled with stages
--coded by Lyris
--睨み統べるスネークアイズ
--The Glaring Ruler Snake-Eyes
--coded by Lyris
local s,id,o=GetID()
function s.initial_effect(c)
--Activate
......@@ -14,7 +15,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x19c) and c:IsLevelAbove(1)
return c:IsFaceup() and c:IsSetCard(0x2a0) and c:IsLevelAbove(1)
end
function s.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroup(s.cfilter,tp,LOCATION_MZONE,0,nil):GetSum(Card.GetLevel)>1
......@@ -22,7 +23,7 @@ end
function s.mfilter(c,tp,ft)
local r=LOCATION_REASON_TOFIELD
if not c:IsControler(c:GetOwner()) then r=LOCATION_REASON_CONTROL end
return Duel.GetLocationCount(c:GetOwner(),LOCATION_SZONE,tp,r)>0
return c:GetOriginalType()&TYPE_MONSTER>0 and Duel.GetLocationCount(c:GetOwner(),LOCATION_SZONE,tp,r)>0
end
function s.sfilter(c,e,tp)
return c:GetOriginalType()&TYPE_MONSTER>0 and c:GetType()&TYPE_CONTINUOUS+TYPE_SPELL==TYPE_CONTINUOUS+TYPE_SPELL
......@@ -70,4 +71,4 @@ end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) end
end
end
\ No newline at end of file
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