[b43] Exploit weakness not working

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

[b43] Exploit weakness not working

#1 Post by jenx »

I've got 87 accuracy most of the time, with Perfect Control on my gloves, so I hit everything. And I have 3/5 on Exploit Weakness. Yet every creature I hit, if I inspect them, only ever says that their resistance is reduced by 5%, regardless of whether the talent says Exploit Weakness (1), (2), (3) etc.
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: [b43] Exploit weakness not working

#2 Post by jenx »

has this been fixed for rc4?

I've checked the code and I can't tell. It might be working but the tooltip is not displaying correctly. That's my suspicion reading the code.
MADNESS rocks

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [b43] Exploit weakness not working

#3 Post by Hachem_Muche »

jenx is correct. It's just a tooltip error and the talent is otherwise working fine.

Code: Select all

Index: game/modules/tome/data/timed_effects/physical.lua
===================================================================
--- game/modules/tome/data/timed_effects/physical.lua	(revision 6261)
+++ game/modules/tome/data/timed_effects/physical.lua	(working copy)
@@ -1235,7 +1235,7 @@
 newEffect{
 	name = "WEAKENED_DEFENSES", image = "talents/exploit_weakness.png",
 	desc = "Weakened Defenses",
-	long_desc = function(self, eff) return ("The target's physical resistance has been reduced by %d%%."):format(eff.inc) end,
+	long_desc = function(self, eff) return ("The target's physical resistance has been reduced by %d%%."):format(eff.cur_inc) end,
 	type = "physical",
 	subtype = { sunder=true },
 	status = "detrimental",
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply