Commit 94ca88d8 authored by Tachibana's avatar Tachibana

ndyd

parent 5cd9b011
Pipeline #4556 passed with stages
in 23 minutes and 7 seconds
......@@ -52,7 +52,6 @@
!side
16117101
16117104
16117110
16160011
17061240
17061250
......
No preview for this file type
......@@ -124,6 +124,7 @@
#104
10401154 1 --梦之海
10401167 0 --毒草
10401170 0 --复杂世界
10401178 0 --天下大同
#107
10700030 1 --惊惧苏生
......@@ -222,6 +223,7 @@
12010041 1 --LA SGA 仁慈的贝露塔
12010055 2 --LA CSGA 拒绝的罗弗寇
12013007 1 --紫阳花的火枪手 伊瓦尔
12024010 0 --朝向命运之地
12026026 1 --光晓的神子 拉结尔
12029002 1 --切割天使
12029003 1 --圣剑士 帕西乌尔
......@@ -600,7 +602,7 @@
23000232 1 --血族猎手 圣徒教官 凌参
23000233 1 --血族猎手 屠夫修女 凌参
23000241 0 --血族盟约 梦魇骑士
23000243 0 --血族魔物 三头犬
23000243 1 --血族魔物 三头犬
23000245 0 --血族魔物 烈焰梦魇
23000305 1 --白马将军·公孙瓒
23004005 0 --奇妙冒险团 礼物天使
......
--星皇 武
local m=16117110
local cm=_G["c"..m]
function cm.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,nil,4,4,cm.lcheck)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(cm.efilter)
c:RegisterEffect(e1)
--negate activate
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,0))
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCountLimit(1)
e2:SetCost(cm.cost)
e2:SetTarget(cm.target)
e2:SetOperation(cm.operation)
c:RegisterEffect(e2)
end
function cm.lcheck(g,lc)
return g:IsExists(Card.IsLinkMarker,1,nil,0x001) and g:IsExists(Card.IsLinkMarker,1,nil,0x004) and g:IsExists(Card.IsLinkMarker,1,nil,0x040) and g:IsExists(Card.IsLinkMarker,1,nil,0x100)
end
function cm.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler()) end
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,nil,0,0,0)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,aux.ExceptThisCard(e))
Duel.Destroy(g,REASON_EFFECT)
local og=Duel.GetOperatedGroup()
local sg=Group.__sub(g,og)
for tc in aux.Next(sg) do
tc:ReplaceEffect(176393,0x1fe0000)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+0x1fe0000)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+0x1fe0000)
tc:RegisterEffect(e2)
end
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