From 59dd2c23ba7f965d72393a913e298a15ea57941e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Vr=C3=A5le?= <seb@terminator.net>
Date: Tue, 15 Jul 2014 14:55:47 +0200
Subject: [PATCH] oops fix the weapon tier too

---
 game/modules/tome/data/general/objects/world-artifacts.lua | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua
index cc967ebc03..2c7b22b9e8 100644
--- a/game/modules/tome/data/general/objects/world-artifacts.lua
+++ b/game/modules/tome/data/general/objects/world-artifacts.lua
@@ -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)
-- 
GitLab