Commit 248f2e10 authored by 聖園ミカ's avatar 聖園ミカ 🐟

7

parent 4c8852fe
......@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.op)
c:RegisterEffect(e2)
end
cm.att2000aqua=true
function cm.spfilter(c,e,tp)
return c:IsRace(RACE_AQUA) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsAttackAbove(2000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -71,11 +71,13 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(p,ct+1,REASON_EFFECT)
end
function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.disfilter1,tp,0,LOCATION_ONFIELD,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,g,g:GetCount(),0,0)
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(aux.disfilter1,tp,0,LOCATION_ONFIELD,nil)
local g=Duel.GetMatchingGroup(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,nil)
local tc=g:GetFirst()
while tc do
local e1=Effect.CreateEffect(c)
......
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