[1.0.1] Retribution triggers twice on single strike

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Molog
Wayist
Posts: 25
Joined: Tue Apr 09, 2013 7:57 pm

[1.0.1] Retribution triggers twice on single strike

#1 Post by Molog »

This guy http://te4.org/characters/15849/tome/2b ... 61c08a29de died because retribution triggered twice on the same strike. I think you can access savegame if you want to examine cause.

Your premonition allows you to raise a shield just in time!
Mepot the Bringer of Doom hits Killgaro for 0 acid damage.

Killgaro uses Warshout.
Mepot the Bringer of Doom wanders around!.
Wretchling wanders around!.
The shield around Killgaro crumbles.
Mepot the Bringer of Doom hits Killgaro for 0 acid damage.
Wretchling recovers sight.
Killgaro's adrenaline surge has come to an end.
Mepot the Bringer of Doom hits Killgaro for 7 acid damage.

Mepot the Bringer of Doom unleashes the stored damage in retribution!
Killgaro is recovering from the damage!
Mepot the Bringer of Doom unleashes the stored damage in retribution!
Saving done.
Saving done.
Saving game..

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

Re: [1.0.1] Retribution triggers twice on single strike

#2 Post by Hachem_Muche »

The problem is caused by retribution not being deactivated properly when overloaded. Fix:

Code: Select all

Index: game/modules/tome/class/Actor.lua
===================================================================
--- game/modules/tome/class/Actor.lua	(revision 6655)
+++ game/modules/tome/class/Actor.lua	(working copy)
@@ -1605,7 +1605,7 @@
 			local dam = self.retribution_strike
 
 			-- Deactivate without loosing energy
-			self:forceUseTalent(self.T_RETRIBUTION, {ignore_energy=true})
+			self:forceUseTalent(self.T_RETRIBUTION, {ignore_energy=true, ignore_cd=true})
 
 			-- Explode!
 			game.logSeen(self, "%s unleashes the stored damage in retribution!", self.name:capitalize())
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply