Commit 37438990 authored by TanakaKotoha's avatar TanakaKotoha

amd yes

parent 603b5d2b
No preview for this file type
expansions/pics/65050131.jpg

47.8 KB | W: | H:

expansions/pics/65050131.jpg

45.9 KB | W: | H:

expansions/pics/65050131.jpg
expansions/pics/65050131.jpg
expansions/pics/65050131.jpg
expansions/pics/65050131.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -31,7 +31,7 @@ function c10220021.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c10220021.filter,c:GetControler(),LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(c10220021.cfilter,c:GetControler(),LOCATION_MZONE,0,1,nil)
end
function c10220021.filter(c)
......
--SAO 驯兽师 西莉卡
function c10220031.initial_effect(c)
--special summon rule
--special summon rule
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
......@@ -32,7 +32,7 @@ function c10220031.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c10220031.filter,c:GetControler(),LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(c10220031.cfilter,c:GetControler(),LOCATION_MZONE,0,1,nil)
end
function c10220031.thcfilter(c)
......
......@@ -28,6 +28,10 @@ c65010516.setname="URBEX"
function c65010516.lcfil(c)
return c.setname=="URBEX"
end
function c65010516.lcheck(g)
return g:IsExists(c65010516.lcfil,1,nil)
end
function c65010516.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() and Duel.IsExistingMatchingCard(Card.IsAbleToRemoveAsCost,tp,LOCATION_EXTRA,0,2,nil) end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
......
......@@ -5,6 +5,13 @@ function cm.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,cm.matfilter,1)
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(cm.sumcon)
e0:SetOperation(cm.sumsuc)
c:RegisterEffect(e0)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
......@@ -34,6 +41,12 @@ end
function cm.matfilter(c)
return c:IsLevel(1) and not c:IsLinkType(TYPE_TOKEN) and c:IsAttack(500)
end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81011003,0))
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
......
......@@ -3,7 +3,14 @@ function c81011026.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,nil,2,99,c81011026.lcheck)
c:EnableReviveLimit()
--position
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(c81011026.sumcon)
e0:SetOperation(c81011026.sumsuc)
c:RegisterEffect(e0)
--position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(81011026,0))
e1:SetCategory(CATEGORY_POSITION)
......@@ -31,6 +38,12 @@ end
function c81011026.lcheck(g,lc)
return g:IsExists(Card.IsType,1,nil,TYPE_FLIP)
end
function c81011026.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function c81011026.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81011003,0))
end
function c81011026.setfilter(c)
return c:IsFaceup() and c:IsCanTurnSet()
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