Skip to content
Snippets Groups Projects
Commit ba5001db authored by DarkGod's avatar DarkGod
Browse files

Dark Empathy now also transfers the caster's resists cap

parent d1279b38
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -133,6 +133,9 @@ function applyDarkEmpathy(self, m)
for k, e in pairs(self.resists) do
m.resists[k] = (m.resists[k] or 0) + e * perc / 100
end
for k, e in pairs(self.resists_cap) do
m.resists_cap[k] = e
end
m.combat_physresist = m.combat_physresist + self:combatPhysicalResist() * perc / 100
m.combat_spellresist = m.combat_spellresist + self:combatSpellResist() * perc / 100
m.combat_mentalresist = m.combat_mentalresist + self:combatMentalResist() * perc / 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment