Commit 294408d9ad7163d90774de4695056de31677e089

Authored by zhouhaihai
1 parent e0c0365a

伤害错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPlayer.lua
... ... @@ -349,7 +349,7 @@ function BaseObject:hurt(value, releaser, params)
349 349 end
350 350  
351 351 if params.hurtType ~= 5 then
352   - if params.hurtType ~= 6 or params.hurtType ~= 4 then
  352 + if params.hurtType ~= 6 and params.hurtType ~= 4 then
353 353 value = math.max(0, value - self.def)
354 354 end
355 355 value = self:getInjuredValue(value) --减伤计算
... ...