Commit 8645dcc3f265114e2ff01d536a1f79dd7dd12f75

Authored by DarkGod
2 parents 70368ebf 4695b168

Merge branch 'fix_multicaster' into 'master'

fix occasionally Multicaster is triggered more than twice per turn

it occurs when spell triggered by Multicaster triggers a new beam by talent_on_spell.

See merge request !784
... ... @@ -95,10 +95,10 @@ newTalent{
95 95 end
96 96 local choice = rng.rarityTable(tids, "cd")
97 97 if not choice then return end
98   - self:forceUseTalent(choice.tid, {ignore_cooldown=true, ignore_energy=true, force_target=self._orb_of_thaumaturgy_recurs or target})
99 98
100 99 if self._orb_of_thaumaturgy_recurs then self.turn_procs.multicaster_orb = true
101 100 else self.turn_procs.multicaster = true end
  101 + self:forceUseTalent(choice.tid, {ignore_cooldown=true, ignore_energy=true, force_target=self._orb_of_thaumaturgy_recurs or target})
102 102 end,
103 103 activate = function(self, t)
104 104 local ret = {}
... ...