From f452a802d2f71312386e0454b1dcf653628c28a3 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Thu, 18 Nov 2010 23:34:13 +0000
Subject: [PATCH] Alchemist's Golem now only levels with the player

git-svn-id: http://svn.net-core.org/repos/t-engine4@1935 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/talents/spells/golemancy.lua | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/game/modules/tome/data/talents/spells/golemancy.lua b/game/modules/tome/data/talents/spells/golemancy.lua
index cf12d3fe13..9746f1504e 100644
--- a/game/modules/tome/data/talents/spells/golemancy.lua
+++ b/game/modules/tome/data/talents/spells/golemancy.lua
@@ -56,9 +56,13 @@ local function makeGolem()
 		energy = { mod=1 },
 		stats = { str=14, dex=12, mag=10, con=12 },
 
+		-- No natural exp gain
+		gainExp = function() end,
+
 		keep_inven_on_death = true,
 --		no_auto_resists = true,
 		open_door = true,
+		cut_immune = 1,
 		blind_immune = 1,
 		fear_immune = 1,
 		poison_immune = 1,
-- 
GitLab