Commit aa3f50602ac9bebbe71df8e3bfc18b83fff765f1

Authored by K'van
1 parent 7dfaf4ef

Add is_gloves_combat flag to easily check if a combat table belongs to gloves.

@@ -29,7 +29,7 @@ newEntity{ @@ -29,7 +29,7 @@ newEntity{
29 moddable_tile = resolvers.moddable_tile("gloves"), 29 moddable_tile = resolvers.moddable_tile("gloves"),
30 encumber = 1, 30 encumber = 1,
31 rarity = 9, 31 rarity = 9,
32 - wielder={combat = {accuracy_effect = "axe", physspeed = 0},}, 32 + wielder={combat = {accuracy_effect = "axe", physspeed = 0, is_gloves_combat = true},},
33 desc = _t[[Light gloves which do not seriously hinder finger movements, while still protecting the hands somewhat.]], 33 desc = _t[[Light gloves which do not seriously hinder finger movements, while still protecting the hands somewhat.]],
34 randart_able = "/data/general/objects/random-artifacts/generic.lua", 34 randart_able = "/data/general/objects/random-artifacts/generic.lua",
35 egos = "/data/general/objects/egos/gloves.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) }, 35 egos = "/data/general/objects/egos/gloves.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },