Skip to content
Snippets Groups Projects
Commit 92c98953 authored by DarkGod's avatar DarkGod
Browse files

gloves & gauntlets have accuracy effects

parent 4fa09e42
No related branches found
No related tags found
No related merge requests found
......@@ -682,7 +682,7 @@ function _M:addTemporaryValue(prop, v, noupdate)
end
elseif type(v) == "string" then
-- Only last works on strings
if method == "last" then
if true or method == "last" then
base["__tlast_"..prop] = base["__tlast_"..prop] or {[-1] = base[prop]}
local b = base["__tlast_"..prop]
b[id] = v
......@@ -780,7 +780,7 @@ function _M:removeTemporaryValue(prop, id, noupdate)
end
elseif type(v) == "string" then
-- Only last works on strings
if method == "last" then
if true or method == "last" then
base["__tlast_"..prop] = base["__tlast_"..prop] or {}
local b = base["__tlast_"..prop]
b[id] = nil
......
......@@ -44,6 +44,7 @@ newEntity{ base = "BASE_GAUNTLETS",
wielder = {
combat_armor = 1,
combat = {
accuracy_effect = "mace",
dam = resolvers.rngavg(7, 12),
apr = 3,
physcrit = 2,
......@@ -62,6 +63,7 @@ newEntity{ base = "BASE_GAUNTLETS",
wielder = {
combat_armor = 2,
combat = {
accuracy_effect = "mace",
dam = resolvers.rngavg(16, 22),
apr = 9,
physcrit = 8,
......@@ -80,6 +82,7 @@ newEntity{ base = "BASE_GAUNTLETS",
wielder = {
combat_armor = 3,
combat = {
accuracy_effect = "mace",
dam = resolvers.rngavg(25, 32),
apr = 15,
physcrit = 10,
......
......@@ -42,6 +42,7 @@ newEntity{ base = "BASE_GLOVES",
wielder = {
combat_armor = 1,
combat = {
accuracy_effect = "axe",
dam = resolvers.rngavg(5, 8),
apr = 1,
physcrit = 1,
......@@ -59,6 +60,7 @@ newEntity{ base = "BASE_GLOVES",
wielder = {
combat_armor = 2,
combat = {
accuracy_effect = "axe",
dam = resolvers.rngavg(14, 18),
apr = 3,
physcrit = 3,
......@@ -76,6 +78,7 @@ newEntity{ base = "BASE_GLOVES",
wielder = {
combat_armor = 3,
combat = {
accuracy_effect = "axe",
dam = resolvers.rngavg(23, 28),
apr = 5,
physcrit = 5,
......
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