Commit 94d4ef7272467498efb420730e00e2206f6413aa

Authored by DarkGod
1 parent f6143d11

fuckit damnit

@@ -6774,9 +6774,11 @@ newEntity{ base = "BASE_MASSIVE_ARMOR", @@ -6774,9 +6774,11 @@ newEntity{ base = "BASE_MASSIVE_ARMOR",
6774 local storepower=self.power 6774 local storepower=self.power
6775 local _, _, inven_id = who:findInAllInventoriesByObject(self) 6775 local _, _, inven_id = who:findInAllInventoriesByObject(self)
6776 who:onTakeoff(self, inven_id, true) 6776 who:onTakeoff(self, inven_id, true)
  6777 +
  6778 + local DamageType = require "engine.DamageType"
6777 6779
6778 self.wielder = { 6780 self.wielder = {
6779 - inc_stats = { [Stats.STAT_STR] = math.ceil(10 + boost * dur/5), [Stats.STAT_CON] = math.ceil(10 + boost * dur/5), }, 6781 + inc_stats = { [who.STAT_STR] = math.ceil(10 + boost * dur/5), [who.STAT_CON] = math.ceil(10 + boost * dur/5), },
6780 combat_armor = math.ceil(30 + boost * dur * 0.4), 6782 combat_armor = math.ceil(30 + boost * dur * 0.4),
6781 combat_dam = math.ceil(10 + boost/5 * dur), 6783 combat_dam = math.ceil(10 + boost/5 * dur),
6782 combat_physresist = math.ceil(15 + boost/5 * dur), 6784 combat_physresist = math.ceil(15 + boost/5 * dur),