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

Merge branch 'damdesc_fix' into 'master'

damDesc fix

Well, having a global function be redefined at an arbitrary point in our lives is not the greatest thing ever.
parents 4d2e2154 adf94dc3
No related branches found
No related tags found
No related merge requests found
......@@ -296,15 +296,6 @@ cancelStances = function(self)
self.cancelling_stances = nil
end
damDesc = function(self, type, dam)
-- Increases damage
if self.inc_damage then
local inc = (self.inc_damage.all or 0) + (self.inc_damage[type] or 0)
dam = dam + (dam * inc / 100)
end
return dam
end
-- Archery range talents
archery_range = function(self, t)
local weapon, ammo, offweapon = self:hasArcheryWeapon()
......
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