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

2023/1/1 bug修复

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