Commit 330d1da9b5922e105d998d9f2f13592ef23478dd

Authored by yutio888
1 parent c766b28b

fix bows & slings randarts have base damage

@@ -30,6 +30,9 @@ load("/data/general/objects/random-artifacts/melee.lua", function(e) @@ -30,6 +30,9 @@ load("/data/general/objects/random-artifacts/melee.lua", function(e)
30 e.wielder.ranged_project = table.clone(e.wielder.melee_project) 30 e.wielder.ranged_project = table.clone(e.wielder.melee_project)
31 e.wielder.melee_project = nil 31 e.wielder.melee_project = nil
32 end 32 end
  33 + if e.combat and e.combat.dam then -- bows & slings should not have base damage
  34 + e.rarity = nil
  35 + end
33 end) 36 end)
34 37
35 ---------------------------------------------------------------- 38 ----------------------------------------------------------------