From 65579cc6fdd9cb1c83a92b2bb4d0bb726a5e3f92 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Fri, 27 Dec 2019 11:57:59 +0100
Subject: [PATCH] Banned Predator talents from random NPCs

---
 game/modules/tome/data/talents/cursed/predator.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/game/modules/tome/data/talents/cursed/predator.lua b/game/modules/tome/data/talents/cursed/predator.lua
index 992e68273c..7854e2b7ab 100644
--- a/game/modules/tome/data/talents/cursed/predator.lua
+++ b/game/modules/tome/data/talents/cursed/predator.lua
@@ -27,6 +27,7 @@ newTalent{
 	require = cursed_lev_req1,
 	mode = "passive",
 	points = 5,
+	no_npc_use = true,
 	getATK = function(self, t) return self:combatTalentScale(t, 0.18, 1.2) end,
 	-- ATK bonus handled in Combat.lua with comment: -- Predator apr bonus
 	getAPR = function(self, t) return self:combatTalentScale(t, 0.09, 0.6) end,
@@ -65,6 +66,7 @@ newTalent{
 	points = 5,
 	cooldown = 10,
 	no_energy = true,
+	no_npc_use = true,
 	radius = function(self, t) return 4 end,
 	getMiasmaCount = function(self, t) return self:combatTalentScale(t, 3, 6) end,
 	getDamage = function(self, t) return self:combatTalentMindDamage(t, 0, 60) end,
@@ -247,6 +249,7 @@ newTalent{
 	mode = "passive",
 	require = cursed_lev_req3,
 	points = 5,
+	no_npc_use = true,
 	getStealthPower = function(self, t) return self:combatTalentMindDamage(t, 0, 70) end,
 	getPhysPower = function(self, t) return self:combatTalentMindDamage(t, 20, 70) end,
 	passives = function(self, t, p)
-- 
GitLab