Commit da743fbecb7a3d8f01965648d088bf7eef50d8dd
1 parent
b8b1c164
被动效果
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
src/GlobalVar.lua
src/adv/AdvPassive.lua
| ... | ... | @@ -414,6 +414,7 @@ function Passive:trigger(condType, params) --触发检查 |
| 414 | 414 | if self.round and self.round > 0 then -- cd |
| 415 | 415 | return |
| 416 | 416 | end |
| 417 | + self.owner.battle.adv:pushBackEvent(AdvBackEventType.PassiveEffect, {show = self.passiveData.show, roomId = self.owner.roomId, blockId = self.owner.blockId }) | |
| 417 | 418 | self:effect(params) |
| 418 | 419 | end |
| 419 | 420 | ... | ... |