From cbb32fd07600f93abb8ff86d5d804f171d81b5d2 Mon Sep 17 00:00:00 2001
From: Eric Wykoff <ericwykoff@yahoo.com>
Date: Thu, 22 Jan 2015 10:01:51 -0600
Subject: [PATCH] hack to make targeting a bit clearer for the player with
 matter spells

---
 game/modules/tome/data/talents/chronomancy/matter.lua | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/data/talents/chronomancy/matter.lua b/game/modules/tome/data/talents/chronomancy/matter.lua
index ea7d53a703..830a79e671 100644
--- a/game/modules/tome/data/talents/chronomancy/matter.lua
+++ b/game/modules/tome/data/talents/chronomancy/matter.lua
@@ -38,12 +38,18 @@ newTalent{
 	getAshes = function(self, t) return {type="ball", range=0, radius=self:getTalentRadius(t), selffire=false} end,
 	getDamage = function(self, t) return self:combatTalentSpellDamage(t, 20, 230, getParadoxSpellpower(self, t)) end,
 	action = function(self, t)
+		-- Check for digs first
+		local digs = self:isTalentActive(self.T_DISINTEGRATION) and self:callTalent(self.T_DISINTEGRATION, "getDigs")
 		local tg = self:getTalentTarget(t)
+		
+		-- Just for targeting change to pass terrain
+		if digs then tg.pass_terrain = true end
 		local x, y, target = self:getTarget(tg)
 		if not x or not y then return nil end
 		
-		-- Check for digs
-		local digs = self:isTalentActive(self.T_DISINTEGRATION) and self:callTalent(self.T_DISINTEGRATION, "getDigs")
+		-- Change back pass terrain
+		tg.pass_terrain = nil
+		
 		
 		-- Ashes to Ashes
 		if target and target == self then
-- 
GitLab