Skip to content
Snippets Groups Projects
Commit 59dd2c23 authored by Sebastian Vråle's avatar Sebastian Vråle
Browse files

oops fix the weapon tier too

parent 28cd702f
No related branches found
No related tags found
1 merge request!14Bug fixes
......@@ -6260,11 +6260,12 @@ newEntity{ base = "BASE_GREATMAUL",
self.act = mod.class.Object.act
self.talent_on_spell = nil
self.material_level=gem.material_level
local scalingFactor = self.material_level
local scalingFactor = gem.material_level
local combatFactor = math.max(scalingFactor, 2) -- Prevent tier 1 gems from degrading the maul
self.material_level=combatFactor
self.combat.dam = 8 + (12 * combatFactor)
self.combat.apr = (3 * combatFactor)
self.combat.physcrit = 4 + (2 * combatFactor)
......
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