Commit f521ad5b26c7d1cf73d881ad3c8a0300d1bfc20b

Authored by K'van
1 parent 294e777b

Feed and Fed Upon properly ignore absolute resistance.

... ... @@ -3847,7 +3847,7 @@ newEffect{
3847 3847 if eff.resistGain and eff.resistGain > 0 then
3848 3848 local gainList = {}
3849 3849 for id, resist in pairs(eff.target.resists) do
3850   - if resist > 0 and id ~= "all" then
  3850 + if resist > 0 and id ~= "all" and id ~= "absolute" then
3851 3851 gainList[id] = eff.resistGain * 0.01 * resist
3852 3852 end
3853 3853 end
... ... @@ -3940,7 +3940,7 @@ newEffect{
3940 3940 if eff.resistLoss and eff.resistLoss < 0 then
3941 3941 local lossList = {}
3942 3942 for id, resist in pairs(self.resists) do
3943   - if resist > 0 and id ~= "all" then
  3943 + if resist > 0 and id ~= "all" and id ~= "absolute" then
3944 3944 lossList[id] = eff.resistLoss * 0.01 * resist
3945 3945 end
3946 3946 end
... ...