Skip to content
Snippets Groups Projects
Commit 45f8e469 authored by Chris Davidson's avatar Chris Davidson
Browse files

Ban Vile Life from NPCs

No current relevance, but lets not let NPCs bypass all forms of effect immunity.
parent 24491c13
No related branches found
No related tags found
2 merge requests!617WIP: experienmental i18n support,!613Misc
......@@ -168,6 +168,7 @@ newTalent{
direct_hit = true,
requires_target = true,
range = 4,
no_npc_use = true, -- Bypasses all forms of immunity and such
target = function(self, t) return {type="hit", range=self:getTalentRange(t), talent=t} end,
getNb = function(self, t) return math.floor(self:combatTalentScale(t, 2, 4, "log")) end,
getDam = function(self, t) return self:combatTalentLimit(t, 2, 10, 5) end, --Limit < 10% life/effect
......
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