However, in skimming the code, I happened to notice something; If you change...
Code: Select all
if self:isTalentActive(self.T_THUNDERSTORM) then
Code: Select all
if not self.dead and if self:isTalentActive(self.T_THUNDERSTORM) then
Moderator: Moderator
Code: Select all
if self:isTalentActive(self.T_THUNDERSTORM) then
Code: Select all
if not self.dead and if self:isTalentActive(self.T_THUNDERSTORM) then
Code: Select all
game/modules/tome/class/Actor.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index b465254..e314ac0 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -470,7 +470,7 @@ function _M:actBase()
self:timedEffects()
-- Handle thunderstorm, even if the actor is stunned or incapacitated it still works
- if not game.zone.wilderness then
+ if not game.zone.wilderness and not self.dead then
if self:isTalentActive(self.T_THUNDERSTORM) then
local t = self:getTalentFromId(self.T_THUNDERSTORM)
t.do_storm(self, t)