From 94d4ef7272467498efb420730e00e2206f6413aa Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Tue, 3 Jun 2014 14:23:29 +0200 Subject: [PATCH] fuckit damnit --- game/modules/tome/data/general/objects/world-artifacts.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index a0a025632e..ad936842cd 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -6774,9 +6774,11 @@ newEntity{ base = "BASE_MASSIVE_ARMOR", local storepower=self.power local _, _, inven_id = who:findInAllInventoriesByObject(self) who:onTakeoff(self, inven_id, true) + + local DamageType = require "engine.DamageType" self.wielder = { - inc_stats = { [Stats.STAT_STR] = math.ceil(10 + boost * dur/5), [Stats.STAT_CON] = math.ceil(10 + boost * dur/5), }, + inc_stats = { [who.STAT_STR] = math.ceil(10 + boost * dur/5), [who.STAT_CON] = math.ceil(10 + boost * dur/5), }, combat_armor = math.ceil(30 + boost * dur * 0.4), combat_dam = math.ceil(10 + boost/5 * dur), combat_physresist = math.ceil(15 + boost/5 * dur), -- GitLab