From 2551d4374548aae405516ae000559d2a7ed3c96d Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Fri, 13 May 2011 23:12:37 +0000
Subject: [PATCH] pmop

git-svn-id: http://svn.net-core.org/repos/t-engine4@3353 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/PlayerDisplay.lua              | 2 +-
 game/modules/tome/data/talents/chronomancy/paradox.lua | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/class/PlayerDisplay.lua b/game/modules/tome/class/PlayerDisplay.lua
index 69ebbb06a4..46458056d9 100644
--- a/game/modules/tome/class/PlayerDisplay.lua
+++ b/game/modules/tome/class/PlayerDisplay.lua
@@ -254,7 +254,7 @@ function _M:display()
 		local _, chance = player:paradoxFailChance()
 		self:mouseTooltip(self.TOOLTIP_PARADOX, self:makeTextureBar("#LIGHT_STEEL_BLUE#Paradox:", ("       %d"):format(player:getParadox()), chance, 100, x, h, 255, 255, 255,
 			{r=176 / 2, g=196 / 2, b=222 / 2},
-			{r=176 / 2, g=196 / 2, b=222 / 2}
+			{r=176 / 5, g=196 / 5, b=222 / 5}
 		)) h = h + self.font_h
 	end
 	if player:knowTalent(player.T_PSI_POOL) then
diff --git a/game/modules/tome/data/talents/chronomancy/paradox.lua b/game/modules/tome/data/talents/chronomancy/paradox.lua
index 48d22c99d0..d4e90e79ea 100644
--- a/game/modules/tome/data/talents/chronomancy/paradox.lua
+++ b/game/modules/tome/data/talents/chronomancy/paradox.lua
@@ -124,9 +124,11 @@ newTalent{
 			return
 		end
 
-		local tg = {type="hit", range=self:getTalentRange(t)}
+		local tg = {type="bolt", nowarning=true, range=self:getTalentRange(t), nolock=true, talent=t}
 		local tx, ty = self:getTarget(tg)
 		if not tx or not ty then return nil end
+		local _ _, tx, ty = self:canProject(tg, tx, ty)
+		if not tx or not ty then return nil end
 
 		local sex = game.player.female and "she" or "he"
 		local a = mod.class.NPC.new{}
-- 
GitLab