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

2022/9/20 新增:天启之监视者,更新翻译

parent ca908413
No preview for this file type
local m=120228034
local cm=_G["c"..m]
cm.name="天启之监视者"
function cm.initial_effect(c)
--Atk Up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetValue(500)
c:RegisterEffect(e1)
--Indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(cm.condition)
e2:SetValue(cm.indval)
c:RegisterEffect(e2)
end
--Indes
function cm.filter(c)
return c:IsType(TYPE_MONSTER)
end
function cm.condition(e)
return Duel.IsExistingMatchingCard(cm.filter,e:GetHandlerPlayer(),0,LOCATION_GRAVE,6,nil)
end
function cm.indval(e,re,rp)
if e==nil then
return true,0,0
end
local tc=re:GetHandler()
return rp==1-tp and re:IsActiveType(TYPE_MONSTER) and tc:IsLevelBelow(8)
end
\ No newline at end of file
local m=120228051
local cm=_G["c"..m]
cm.name="炎装红炎刃箭"
cm.name="炎装 琴品焰形剑"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target)
......
local m=120228052
local cm=_G["c"..m]
cm.name="重装双颈吉他断钢剑"
cm.name="重装 双琴颈断钢剑"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,cm.cost,cm.target)
......
local m=120228053
local cm=_G["c"..m]
cm.name="圣装吊带提琴"
cm.name="圣装 主教背带"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target)
......
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