Commit 0c2770e45aca6e726c618b42321ea995572b5e31
1 parent
02538652
bug 扫雷buff
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/adv/AdvBuff.lua
| @@ -22,6 +22,7 @@ Buff.CHANGE_DROP = 18 -- 转换掉落 | @@ -22,6 +22,7 @@ Buff.CHANGE_DROP = 18 -- 转换掉落 | ||
| 22 | Buff.BATTLE_PASSIVE = 19 -- 切换为战斗中的被动技 | 22 | Buff.BATTLE_PASSIVE = 19 -- 切换为战斗中的被动技 |
| 23 | Buff.EXP_ADD = 20 -- 增加exp(每回合) | 23 | Buff.EXP_ADD = 20 -- 增加exp(每回合) |
| 24 | Buff.DONT_DEFEND = 21 -- 不看守地板 -- 怪周围点半可点击 | 24 | Buff.DONT_DEFEND = 21 -- 不看守地板 -- 怪周围点半可点击 |
| 25 | +Buff.SHOW_DANGER = 22 -- 扫雷 展示地上怪物和陷阱数量的标记 | ||
| 25 | 26 | ||
| 26 | Buff.EXP_UP = 24 -- 杀敌经验提高 | 27 | Buff.EXP_UP = 24 -- 杀敌经验提高 |
| 27 | Buff.DISABLE_BUFF = 25 -- 禁用固有技 | 28 | Buff.DISABLE_BUFF = 25 -- 禁用固有技 |
src/models/Diner.lua
| @@ -301,7 +301,7 @@ function Diner:getMaxSlots() | @@ -301,7 +301,7 @@ function Diner:getMaxSlots() | ||
| 301 | local slotCount = globalCsv.diner_sell_slots_init | 301 | local slotCount = globalCsv.diner_sell_slots_init |
| 302 | 302 | ||
| 303 | for _, carbonId in ipairs(globalCsv.diner_sell_slots_unlock) do | 303 | for _, carbonId in ipairs(globalCsv.diner_sell_slots_unlock) do |
| 304 | - if role:checkHangPass(carbonId) then | 304 | + if self.owner:checkHangPass(carbonId) then |
| 305 | slotCount = slotCount + 1 | 305 | slotCount = slotCount + 1 |
| 306 | end | 306 | end |
| 307 | end | 307 | end |