Commit 43153942 authored by Tachibana's avatar Tachibana

eme

parent 3861d9a4
Pipeline #8919 passed with stages
in 33 minutes and 18 seconds
--暴歌仙精 雅拉之歌
xpcall(function() require("expansions/script/c16199990") end,function() require("script/c16199990") end)
local m,cm=rk.set(16114217,"FAIRY",1)
local m,cm=rk.set(16114217,"FAIRY")
function cm.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,nil,2,2,cm.lcheck)
......
--薰风仙精 高德妮
xpcall(function() require("expansions/script/c16199990") end,function() require("script/c16199990") end)
local m,cm=rk.set(16114246,"FAIRY",1)
local m,cm=rk.set(16114246,"FAIRY")
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FAIRY),aux.NonTuner(nil),1)
......@@ -17,9 +17,9 @@ function cm.initial_effect(c)
e1:SetCode(EVENT_RECOVER)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1,m)
e1:SetCondition(cm.spcon1)
e1:SetTarget(cm.sptg1)
e1:SetOperation(cm.spop1)
e1:SetCondition(cm.spcon2)
e1:SetTarget(cm.sptg2)
e1:SetOperation(cm.spop2)
c:RegisterEffect(e1)
----mzone effect----
--immune
......
--因果的咒文
xpcall(function() require("expansions/script/c16199990") end,function() require("script/c16199990") end)
local m,cm=rk.set(16114248,"FAIRY",1)
local m,cm=rk.set(16114248,"FAIRY")
function cm.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
......
......@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1:SetRange(LOCATION_EXTRA)
e1:SetCondition(cm.lcon)
e1:SetTarget(cm.ltg)
e1:SetOperation(Auxiliary.LinkOperation(nil,2,4,cm.gf))
e1:SetOperation(Auxiliary.LinkOperation(nil,2,5,cm.gf))
e1:SetValue(SUMMON_TYPE_LINK)
c:RegisterEffect(e1)
--direct attack
......@@ -68,8 +68,8 @@ end
function cm.Linkfilter2(c,lc)
return c:IsFaceup() and c:IsCanBeLinkMaterial(lc)
end
function cm.GetLinkMaterials(tp,f,lc)
local mg=Duel.GetMatchingGroup(Auxiliary.LConditionFilter,tp,LOCATION_MZONE,0,nil,cm.Linkfilter,lc)
function cm.GetLinkMaterials(tp,f,lc,e)
local mg=Duel.GetMatchingGroup(Auxiliary.LConditionFilter,tp,LOCATION_MZONE,0,nil,cm.Linkfilter,lc,e)
local mg2=Duel.GetMatchingGroup(Auxiliary.LExtraFilter,tp,LOCATION_HAND+LOCATION_SZONE,LOCATION_ONFIELD,nil,cm.Linkfilter,lc,tp)
local mg3=Duel.GetMatchingGroup(cm.Linkfilter2,tp,0,LOCATION_MZONE,nil,lc)
if mg2:GetCount()>0 then mg:Merge(mg2) 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