Commit 6a323693f766756a928eeb483a0e440f8e189019
1 parent
0c2770e4
有序的
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/adv/AdvPassive.lua
... | ... | @@ -299,7 +299,7 @@ function Passive:canEffect(effType, effValue) |
299 | 299 | end |
300 | 300 | |
301 | 301 | function Passive:effect(triggerPms) |
302 | - for _, effect in pairs(self.effects) do | |
302 | + for _, effect in ipairs(self.effects) do | |
303 | 303 | local effType = effect[1] |
304 | 304 | local effValue = effect[2] |
305 | 305 | local otherPms = {} | ... | ... |