From b0bceaf4716f747944c5fb821bd112f90b19e539 Mon Sep 17 00:00:00 2001 From: Eric Wykoff <ericwykoff@yahoo.com> Date: Wed, 1 Apr 2015 08:10:23 -0500 Subject: [PATCH] Twist Fate gives audio feedback when an anomaly is held Twist Fate gives better messages when an anomaly is targeted --- game/modules/tome/data/talents/chronomancy/flux.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/talents/chronomancy/flux.lua b/game/modules/tome/data/talents/chronomancy/flux.lua index 796cbe219b..dc0ab70065 100644 --- a/game/modules/tome/data/talents/chronomancy/flux.lua +++ b/game/modules/tome/data/talents/chronomancy/flux.lua @@ -162,17 +162,24 @@ newTalent{ eff.twisted = twist local anom = self:getTalentFromId(eff.talent) + -- make it real obvious for the player + game.logPlayer(self, "#STEEL_BLUE#Casts %s.", anom.name) + if self == game.player then + game.bignews:saySimple(180, "#STEEL_BLUE#Targeting %s", anom.name) + end + -- Call the anomoly action function directly anom.action(self, anom) self:incParadox(-eff.paradox) end - + self:removeEffect(self.EFF_TWIST_FATE) end, setEffect = function(self, t, talent, paradox) game.logPlayer(self, "#STEEL_BLUE#You take control of %s.", self:getTalentFromId(talent).name or nil) self:setEffect(self.EFF_TWIST_FATE, t.getDuration(self, t), {talent=talent, paradox=paradox}) + game:playSoundNear(self, "talents/echo") end, action = function(self, t) t.doTwistFate(self, t, true) -- GitLab