Page 1 of 1

[1.0.1] Retribution triggers twice on single strike

Posted: Sat Apr 27, 2013 12:57 pm
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..

Re: [1.0.1] Retribution triggers twice on single strike

Posted: Sat Apr 27, 2013 5:30 pm
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())