Commit 71cf2514 authored by oilloillo's avatar oilloillo

Update:只有对方怪兽可以作为素材时无需询问是否需要选择对方怪兽作为素材

parent fbf0f1a5
...@@ -236,7 +236,8 @@ function M.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -236,7 +236,8 @@ function M.spop(e,tp,eg,ep,ev,re,r,rp)
local tg = sg:Select(tp, 1, 1, nil) local tg = sg:Select(tp, 1, 1, nil)
local tc = tg:GetFirst() local tc = tg:GetFirst()
if sg1:IsContains(tc) and (sg3 == nil or not sg3:IsContains(tc) or not Duel.SelectYesNo(tp, ce:GetDescription())) then if sg1:IsContains(tc) and (sg3 == nil or not sg3:IsContains(tc) or not Duel.SelectYesNo(tp, ce:GetDescription())) then
if tc:IsRace(RACE_PLANT) and sg2:IsContains(tc) and Duel.SelectYesNo(tp, aux.Stringid(Mid, 3)) then local noNeedAsk = not tc:CheckFusionMaterial(mg1)
if tc:IsRace(RACE_PLANT) and sg2:IsContains(tc) and (noNeedAsk or Duel.SelectYesNo(tp, aux.Stringid(Mid, 3))) then
local mat1 = Duel.SelectFusionMaterial(tp, tc, mg2, c, chkf) local mat1 = Duel.SelectFusionMaterial(tp, tc, mg2, c, chkf)
tc:SetMaterial(mat1) tc:SetMaterial(mat1)
Duel.ConfirmCards(1-tp, mat1) Duel.ConfirmCards(1-tp, mat1)
......
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