Commit a64adbd8 authored by 未闻皂名's avatar 未闻皂名

2023/1/3 新增:天翔月煌华,更新翻译

parent 89fbaf07
Pipeline #19144 passed with stages
in 5 minutes and 23 seconds
No preview for this file type
......@@ -26,7 +26,7 @@ end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,5,5)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_ONFIELD,nil)
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -2,7 +2,7 @@ local m=120235028
local cm=_G["c"..m]
cm.name="升腾之战士 吉尔福德"
function cm.initial_effect(c)
--Special Summon Limit
--Cannot Special Summon
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
......
......@@ -2,7 +2,7 @@ local m=120235029
local cm=_G["c"..m]
cm.name="传说的战士 吉尔福德"
function cm.initial_effect(c)
--Special Summon Limit
--Cannot Special Summon
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
......
local m=120235042
local cm=_G["c"..m]
cm.name="秘密行销魔术"
cm.name="隐性营销魔法"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......
local m=120235050
local list={120199017}
local cm=_G["c"..m]
cm.name="天翔月煌华"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.confilter(c)
return c:IsFaceup() and ((c:IsRace(RACE_CELESTIALWARRIOR) and c:IsType(TYPE_FUSION)) or c:IsCode(list[1]))
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,nil)
end
cm.cost=RD.CostSendHandToGrave(Card.IsAbleToGraveAsCost,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_DESTROY,nil,tp,0,LOCATION_ONFIELD,1,1,nil,function(g)
Duel.Destroy(g,REASON_EFFECT)
end)
end
\ No newline at end of file
local m=120235065
local cm=_G["c"..m]
cm.name="幻影对白"
cm.name="幻影咆哮"
function cm.initial_effect(c)
--Activate
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