Skip to content
Snippets Groups Projects
Commit b0bceaf4 authored by Eric Wykoff's avatar Eric Wykoff
Browse files

Twist Fate gives audio feedback when an anomaly is held

Twist Fate gives better messages when an anomaly is targeted
parent 0a540bef
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment