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

2022/9/5 新增:银河舰希腊剑,更新翻译

parent 051a948d
No preview for this file type
local m=120228025
local cm=_G["c"..m]
cm.name="风碎之体育海盗"
cm.name="风碎之消物哨管海盗"
function cm.initial_effect(c)
--To Hand
local e1=Effect.CreateEffect(c)
......
local m=120228028
local list={120170065,120155030,120151039}
local cm=_G["c"..m]
cm.name="新米寿司天使 舍利"
cm.name="新米寿司天使 沙利叶舍利"
function cm.initial_effect(c)
aux.AddCodeList(c,list[1],list[2],list[3])
--Set
......
local m=120228040
local list={120208002}
local cm=_G["c"..m]
cm.name="银河舰希腊剑"
function cm.initial_effect(c)
aux.AddCodeList(c,list[1])
--Activate
RD.RegisterEquipEffect(c,cm.condition,nil,cm.target)
--Atk Up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_EQUIP)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(cm.upval)
c:RegisterEffect(e1)
end
--Activate
function cm.confilter(c)
return c:IsFaceup() and c:IsLevel(7,8)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.confilter,tp,0,LOCATION_MZONE,1,nil)
end
function cm.target(c,e,tp)
return c:IsControler(tp) and c:IsFaceup() and c:IsRace(RACE_GALAXY)
end
--Atk Up
function cm.upfilter(c)
return c:IsFaceup() and c:IsType(TYPE_NORMAL)
end
function cm.upval(e,c)
local atk=Duel.GetMatchingGroup(cm.upfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,nil)*300
local ec=e:GetHandler():GetEquipTarget()
if ec:IsCode(list[1]) then atk=atk+1000 end
return atk
end
\ No newline at end of file
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