Commit cc383bad authored by 未闻皂名's avatar 未闻皂名

2025/10/15 bug修复

parent 376968f0
Pipeline #41057 passed with stages
in 12 minutes and 23 seconds
...@@ -110,8 +110,8 @@ function RushDuel.NoCostCheck(cost, flag_effect) ...@@ -110,8 +110,8 @@ function RushDuel.NoCostCheck(cost, flag_effect)
local val = effect:GetValue() local val = effect:GetValue()
if val == 1 then if val == 1 then
return true return true
else elseif val(effect, e, tp, eg, ep, ev, re, r, rp) then
return val(effect, e, tp, eg, ep, ev, re, r, rp) return true
end end
end end
return cost(e, tp, eg, ep, ev, re, r, rp, chk) return cost(e, tp, eg, ep, ev, re, r, rp, chk)
......
...@@ -21,12 +21,6 @@ end ...@@ -21,12 +21,6 @@ end
function cm.spfilter(c) function cm.spfilter(c)
return c:IsRace(RACE_HYDRAGON) and RD.IsDefense(c,2000) return c:IsRace(RACE_HYDRAGON) and RD.IsDefense(c,2000)
end end
function cm.confilter1(c)
return c:IsRace(RACE_DRAGON) or c:IsRace(RACE_HYDRAGON)
end
function cm.confilter2(c)
return c:IsType(TYPE_MONSTER) and not cm.confilter1(c)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return RD.IsSummonTurn(c) and not c:IsCode(list[1]) return RD.IsSummonTurn(c) and not c:IsCode(list[1])
......
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