From 1eaa4b57d9d5b547303b60864c67d66eb5665906 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 12 Feb 2013 08:23:14 +0000
Subject: [PATCH] Lichform does not change donator tile if used

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

diff --git a/game/modules/tome/data/talents/spells/necrosis.lua b/game/modules/tome/data/talents/spells/necrosis.lua
index 0d5e77679b..27d3d1d866 100644
--- a/game/modules/tome/data/talents/spells/necrosis.lua
+++ b/game/modules/tome/data/talents/spells/necrosis.lua
@@ -155,10 +155,12 @@ newTalent{
 		self.has_used_lichform = true
 		self.descriptor.race = "Undead"
 		self.descriptor.subrace = "Lich"
-		self.moddable_tile = "skeleton"
-		self.moddable_tile_nude = true
-		self.moddable_tile_base = "base_lich_01.png"
-		self.moddable_tile_ornament = nil
+		if not self.has_custom_tile then
+			self.moddable_tile = "skeleton"
+			self.moddable_tile_nude = true
+			self.moddable_tile_base = "base_lich_01.png"
+			self.moddable_tile_ornament = nil
+		end
 		self.blood_color = colors.GREY
 		self:attr("poison_immune", 1)
 		self:attr("disease_immune", 0.5)
-- 
GitLab