Page 1 of 1
[b37] Talents automatically target yourself while frozen
Posted: Sat Jan 14, 2012 5:21 pm
by MarvinPA
This results in instant, automatic suicide when firing a damage spell while frozen. I think in previous versions there was still the same interface problem, but it at least didn't deal damage to yourself? But changing the behaviour of a targeted spell to automatically fire at yourself seems like a pretty bad inconsistency either way.
Re: [b37] Talents automatically target yourself while frozen
Posted: Sat Jan 14, 2012 5:59 pm
by bricks
Which spell? They should damage the ice block, yes. It might be a problem with a talent-specific mechanic or weird targeting code. If it's all spells, that's a problem.
Re: [b37] Talents automatically target yourself while frozen
Posted: Sat Jan 14, 2012 9:53 pm
by MarvinPA
This was with Turn back the Clock in particular that caused the instant death.
Re: [b37] Talents automatically target yourself while frozen
Posted: Sat Jan 14, 2012 11:52 pm
by yufra
Did you by chance have TbtC above level 4 so that there are two bolts?
Re: [b37] Talents automatically target yourself while frozen
Posted: Sun Jan 15, 2012 2:45 am
by MarvinPA
Yep.
Re: [b37] Talents automatically target yourself while frozen
Posted: Sun Jan 15, 2012 2:47 am
by yufra
Then this is the same problem as other talents that have multiple targeting. Thanks for the report, though.
Re: [b37] Talents automatically target yourself while frozen
Posted: Wed Jan 18, 2012 12:18 am
by tiger_eye
In the latest bugfix addon, you will get a chance to cancel target-able talents if you're in an iceblock. You will still only be able to target the iceblock though. This should help those with fat fingers or short memories.
Re: [b37] Talents automatically target yourself while frozen
Posted: Wed Jan 18, 2012 12:23 am
by tiger_eye
oops, but the following (very minor) change is needed:
Code: Select all
Index: game/modules/tome/class/Player.lua
===================================================================
--- game/modules/tome/class/Player.lua (revision 4791)
+++ game/modules/tome/class/Player.lua (working copy)
@@ -543,6 +543,9 @@
--- Tries to get a target from the user
function _M:getTarget(typ)
if self:attr("encased_in_ice") then
+ if type(typ) ~= "table" then
+ return self.x, self.y, self
+ end
local orig_range = typ.range
typ.range = 0
local x, y, act = game:targetGetForPlayer(typ)