From f5709f948106cbb0f90095fa3e033bcf61114142 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Tue, 28 Mar 2017 12:01:20 +0200
Subject: [PATCH] Randboss/rares can not generate with random talents from the
 "other" trees (which are hidden or npc specific stuff)

---
 game/modules/tome/class/GameState.lua | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/game/modules/tome/class/GameState.lua b/game/modules/tome/class/GameState.lua
index 59d113bb8d..df00719b3f 100644
--- a/game/modules/tome/class/GameState.lua
+++ b/game/modules/tome/class/GameState.lua
@@ -2039,6 +2039,10 @@ print("   power types: not_power_source =", table.concat(table.keys(b.not_power_
 							ok = false
 						end
 					end
+					if t.type[1]:find("/other$") then
+						print("Random boss forbase talent because category /other", t.name, t.id, t.type[1])
+						ok = false
+					end
 					if ok then list[t.id] = true end
 				end
 			end
-- 
GitLab