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

Undead characters should not get antimagic items from the merchant artifact

parent a57dfe97
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,8 @@ local maker_list = function()
if player:attr("forbid_arcane") then -- no magic gear for antimatic characters
not_ps = {arcane=true}
force_themes = {'antimagic'}
else -- no antimagic gear for characters with arcane-powered classes
if player:attr("has_arcane_knowledge") then not_ps = {antimagic=true} end
else -- no antimagic gear for characters with arcane-powered classes or undeads
if player:attr("has_arcane_knowledge") or player:attr("undead") then not_ps = {antimagic=true} end
end
local o, ok
......
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