Commit 8ad1301e authored by 未闻皂名's avatar 未闻皂名

2023/3/21 新增:2023赛场活动包新卡

parent ee9d4ca9
No preview for this file type
local m=120241010
local cm=_G["c"..m]
cm.name="传说之剑"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target)
--Atk & Def Up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_EQUIP)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(300)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e2)
end
--Activate
function cm.target(c,e,tp)
return c:IsFaceup() and c:IsRace(RACE_WARRIOR)
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