Commit 0cc5de89646b553c2c0c5c4fb4f85b3259fc4081
1 parent
254ed866
签到log类型再改回来,餐厅刷新顾客判断修正
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
src/models/Diner.lua
... | ... | @@ -70,10 +70,10 @@ function Diner:refreshDailyData(notify) |
70 | 70 | end |
71 | 71 | end |
72 | 72 | |
73 | - if self.owner:getProperty("funcGuide"):getv(51,0) == 0 or (self.owner:checkOverGuide(26) and not self.owner:checkOverGuide(27)) then | |
73 | + if self.owner:getProperty("funcGuide"):getv(51,0) == 0 or (not self.owner:checkOverGuide(27) and self.owner:checkOverGuide(25)) then | |
74 | 74 | entrust[1] = 1001 |
75 | 75 | entrust[2] = 1 |
76 | - elseif self.owner:checkOverGuide(29) then | |
76 | + elseif not self.owner:checkOverGuide(29,4) and self.owner:checkOverGuide(29) then | |
77 | 77 | local temp = entrust[1] |
78 | 78 | entrust[1] = 1 |
79 | 79 | entrust[2] = temp | ... | ... |
src/models/RoleLog.lua