From 203d5accbdf7c2bb8656ff55be07e88b2609d446 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 8 May 2012 19:47:34 +0000
Subject: [PATCH] Little buff to Kryl-Feijan

git-svn-id: http://svn.net-core.org/repos/t-engine4@5103 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/engines/default/engine/Entity.lua                  | 2 +-
 game/modules/tome/data/talents/corruptions/torment.lua  | 4 ++--
 game/modules/tome/data/talents/misc/objects.lua         | 4 +++-
 game/modules/tome/data/zones/crypt-kryl-feijan/npcs.lua | 3 +++
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/game/engines/default/engine/Entity.lua b/game/engines/default/engine/Entity.lua
index d0c48050f2..f4aab910e5 100644
--- a/game/engines/default/engine/Entity.lua
+++ b/game/engines/default/engine/Entity.lua
@@ -254,7 +254,7 @@ function _M:makeMapObject(tiles, idx)
 	self:defineDisplayCallback()
 
 	-- Setup tint
-	self._mo:tint(self.tint_r, self.tint_g, self.tint_b)
+	self._mo:tint(self.tint_r or 1, self.tint_g or 1, self.tint_b or 1)
 
 	-- Texture 0 is always the normal image/ascii tile
 	local tex, texx, texy, pos_x, pos_y = tiles:get(self.display, self.color_r, self.color_g, self.color_b, self.color_br, self.color_bg, self.color_bb, self.image, self._noalpha and 255, self.ascii_outline, true)
diff --git a/game/modules/tome/data/talents/corruptions/torment.lua b/game/modules/tome/data/talents/corruptions/torment.lua
index 92856639d7..4eb0bc114d 100644
--- a/game/modules/tome/data/talents/corruptions/torment.lua
+++ b/game/modules/tome/data/talents/corruptions/torment.lua
@@ -95,7 +95,7 @@ newTalent{
 	deactivate = function(self, t, p)
 		self:removeTemporaryValue("overkill", p.ov)
 		return true
-	end,	
+	end,
 	info = function(self, t)
 		return ([[When you kill a creature, the remainer of the damage done will not be lost. Instead %d%% of it will splash in a radius 2, doing blight damage.
 		The damage will increase with Magic stat.]]):format(40 + self:combatTalentSpellDamage(t, 10, 90))
@@ -124,7 +124,7 @@ newTalent{
 		self:removeTemporaryValue("reduce_spell_cooldown_on_hit", p.l)
 		self:removeTemporaryValue("reduce_spell_cooldown_on_hit_chance", p.c)
 		return true
-	end,	
+	end,
 	info = function(self, t)
 		local l, c = t.getPower(self, t)
 		return ([[When you are dealt a blow that reduces your life by at least %d%% you have %d%% chances to reduce the remaining cooldown of all your spells by 1.
diff --git a/game/modules/tome/data/talents/misc/objects.lua b/game/modules/tome/data/talents/misc/objects.lua
index 7c8f9f9266..2d665d6bb5 100644
--- a/game/modules/tome/data/talents/misc/objects.lua
+++ b/game/modules/tome/data/talents/misc/objects.lua
@@ -175,6 +175,8 @@ newTalent{
 	end,
 	points = 5,
 	hard_cap = 5,
+	range = 1,
+	tactical = { ATTACK = 2, DEFEND = 2 },
 	on_pre_use = function(self, t, silent) if not self:hasShield() then if not silent then game.logPlayer(self, "You require a weapon and a shield to use this talent.") end return false end return true end,
 	getProperties = function(self, t)
 		local shield = self:hasShield()
@@ -254,6 +256,6 @@ newTalent{
 			br_text = " All blocked damage heals the wielder."
 		end
 		local bt, bt_string = t.getBlockedTypes(self, t)
-		return ([[Raise your shield into blocking position for one turn, reducing the damage of all %s attacks by %d. If you block all of an attack's damage, the attacker will be vulnerable to a deadly counterstrike for one turn.%s%s%s]]):format(bt_string, t.getBlockValue(self, t), sp_text, ref_text, br_text)
+		return ([[Raise your shield into blocking position for one turn, reducing the damage of all %s attacks by %d. If you block all of an attack's damage, the attacker will be vulnerable to a deadly counterstrike (a normal attack will instead deal 200%% damage) for one turn.%s%s%s]]):format(bt_string, t.getBlockValue(self, t), sp_text, ref_text, br_text)
 	end,
 }
diff --git a/game/modules/tome/data/zones/crypt-kryl-feijan/npcs.lua b/game/modules/tome/data/zones/crypt-kryl-feijan/npcs.lua
index 2d6494410f..59623ee52d 100644
--- a/game/modules/tome/data/zones/crypt-kryl-feijan/npcs.lua
+++ b/game/modules/tome/data/zones/crypt-kryl-feijan/npcs.lua
@@ -69,6 +69,9 @@ newEntity{ base="BASE_NPC_MAJOR_DEMON", define_as = "KRYL_FEIJAN",
 		[Talents.T_DARKNESS]={base=3, every=5, max=6},
 		[Talents.T_EVASION]={base=5, every=5, max=8},
 		[Talents.T_VIRULENT_DISEASE]={base=3, every=5, max=6},
+		[Talents.T_PACIFICATION_HEX]={base=5, every=5, max=8},
+		[Talents.T_BURNING_HEX]={base=5, every=5, max=8},
+		[Talents.T_BLOOD_LOCK]={base=5, every=5, max=8},
 	},
 	resolvers.sustains_at_birth(),
 }
-- 
GitLab