diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/character.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/character.rb b/app/models/character.rb index c593651..ce2b0db 100644 --- a/app/models/character.rb +++ b/app/models/character.rb @@ -337,8 +337,8 @@ class Character < ApplicationRecord res += resistance("energy") end - res -= (beastslay_level / 5).ceil if elusive? - res += (beastslay_level / 5).ceil if protective? + res -= (beastslay_level / 5).ceil if elusive? && !%w[physical energy].include?(damage_type) + res += (beastslay_level / 5).ceil if protective? && !%w[physical energy].include?(damage_type) res end |