Commit d025775feb78a687973753c2fc8bab39cee3c4c1

Authored by zhouhaihai
1 parent 397608b3

冒险

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -300,12 +300,12 @@ function Adv:initSupport(supports) @@ -300,12 +300,12 @@ function Adv:initSupport(supports)
300 end 300 end
301 301
302 -- 获得随机神器 6=数量 302 -- 获得随机神器 6=数量
303 - supportEffect[6] = function(num) 303 + supportEffect[6] = function(_, num)
304 self.support[6] = (self.support[6] or 0) + num 304 self.support[6] = (self.support[6] or 0) + num
305 end 305 end
306 306
307 -- 获得3选1神器 7=选择次数(连续选择,每次选择重新随机) 307 -- 获得3选1神器 7=选择次数(连续选择,每次选择重新随机)
308 - supportEffect[7] = function(num) 308 + supportEffect[7] = function(_, num)
309 self.support[7] = (self.support[7] or 0) + num 309 self.support[7] = (self.support[7] or 0) + num
310 end 310 end
311 311