Skip to content
Snippets Groups Projects
Commit b779c4a5 authored by dg's avatar dg
Browse files

Godslayer weapons can not be cursed

git-svn-id: http://svn.net-core.org/repos/t-engine4@5648 51575b47-30f0-44d4-a5cc-537603b46e54
parent deebcbb5
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,10 @@ newTalent{
canCurseItem = function(self, t, item, level)
if not item:wornInven() then return false end
-- Godslayers are far too powerful to be affected
if item.godslayer then return false end
if item.no_curses then return false end
-- possible slots:
-- body, head, feet, hands, cloak, belt (armor)
-- mainhand (weapon), offhand (weapon/armor;shield), psionic (weapon)
......
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