Commit cbb2d02d authored by JoyJ's avatar JoyJ

fix srv5555 script NoNext

parent 37e9bed8
...@@ -3,10 +3,12 @@ ...@@ -3,10 +3,12 @@
--X的数量是原限制次数*3。 --X的数量是原限制次数*3。
CUNGUI = {} CUNGUI = {}
CUNGUI.index = 10002
local scl = Effect.SetCountLimit local scl = Effect.SetCountLimit
Effect.SetCountLimit = function(e,count,code) Effect.SetCountLimit = function(e,count,code)
if not code then if not code then
code = EFFECT_COUNT_CODE_DUEL code = EFFECT_COUNT_CODE_DUEL + CUNGUI.index
CUNGUI.index = CUNGUI.index + 1
else else
code = code | EFFECT_COUNT_CODE_DUEL code = code | EFFECT_COUNT_CODE_DUEL
end 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