Commit 4d46d416 authored by 未闻皂名's avatar 未闻皂名

2023/1/1 bug修复

parent 8771d4c9
Pipeline #18984 passed with stages
in 4 minutes and 52 seconds
......@@ -200,7 +200,9 @@ function RushDuel.CreateMultiChooseEffect(card, condition, cost, hint1, target1,
if cost ~= nil then
e1:SetCost(cost)
end
e1:SetTarget(target1)
if target1 ~= nil then
e1:SetTarget(target1)
end
e1:SetOperation(operation1)
card:RegisterEffect(e1)
local e2 = e1:Clone()
......@@ -210,7 +212,9 @@ function RushDuel.CreateMultiChooseEffect(card, condition, cost, hint1, target1,
else
e2:SetCategory(0)
end
e2:SetTarget(target2)
if target2 ~= nil then
e2:SetTarget(target2)
end
e2:SetOperation(operation2)
card:RegisterEffect(e2)
return e1, e2
......
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