diff --git a/game/modules/tome/data/timed_effects/magical.lua b/game/modules/tome/data/timed_effects/magical.lua index 8fd0618db8cfc71a7f2e034b0a42d224019f5da2..b69ba7a94fd9b954665c80879f464ce169bfbb0d 100644 --- a/game/modules/tome/data/timed_effects/magical.lua +++ b/game/modules/tome/data/timed_effects/magical.lua @@ -5341,12 +5341,12 @@ newEffect{ if self._orb_of_thaumaturgy_recurs then return end if not t.is_beam_spell then return end game:onTickEnd(function() - local target = {x=eff.x, y=eff.y, __no_self=true} - self._orb_of_thaumaturgy_recurs = target - self:attr("archmage_beam_dam_mult", -eff.dam_pct) - self:forceUseTalent(t.id, {ignore_cooldown=true, ignore_ressources=true, ignore_energy=true, force_target=target}) - self:attr("archmage_beam_dam_mult", eff.dam_pct) - self._orb_of_thaumaturgy_recurs = nil + local target = {x=eff.x, y=eff.y, __no_self=true} + self._orb_of_thaumaturgy_recurs = target + self:attr("archmage_beam_dam_mult", -eff.dam_pct) + self:forceUseTalent(t.id, {ignore_cooldown=true, ignore_ressources=true, ignore_energy=true, force_target=target}) + self:attr("archmage_beam_dam_mult", eff.dam_pct) + self._orb_of_thaumaturgy_recurs = nil end) end, activate = function(self, eff)