Commit 7d9178c3 authored by 未闻皂名's avatar 未闻皂名

2023/1/29 传说卡修复

parent 5cecc59b
......@@ -71,10 +71,11 @@ function RushDuel.InitRule()
end
-- 初始化传说卡
function RushDuel.InitLegend(c)
local e = Effect.GlobalEffect()
local e = Effect.CreateEffect(c)
e:SetType(EFFECT_TYPE_SINGLE)
e:SetCode(EFFECT_LEGEND_CARD)
e:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
e:SetProperty(EFFECT_FLAG_SINGLE_RANGE + EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_SET_AVAILABLE)
e:SetRange(0xff)
e:SetValue(c:GetOriginalCode())
c:RegisterEffect(e, true)
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