Skip to content
Snippets Groups Projects
Commit 376abc0b authored by razakai's avatar razakai
Browse files

Fixed a bug where Volley and Called Shots took 2 turns

parent 724726aa
No related branches found
No related tags found
1 merge request!430Archer Fix
......@@ -601,7 +601,7 @@ newTalent{
for i = 1, #targets do
local target = targets[i]
game.target.forced = {target.x, target.y, target}
local targets = self:archeryAcquireTargets({type = "hit", speed = 200}, {one_shot=true, infinite=true, no_energy = fired})
local targets = self:archeryAcquireTargets({type = "hit", speed = 200}, {one_shot=true, infinite=true, no_energy = true})
if targets then
local params = table.clone(shot_params_base)
local target = targets.dual and targets.main[1] or targets[1]
......@@ -699,7 +699,7 @@ newTalent{
self:archeryShoot(targets, t, nil, {mult=dam})
if target:hasEffect(target.EFF_MARKED) or self:isTalentActive(self.T_CONCEALMENT) then
local targets2 = self:archeryAcquireTargets(tg, {multishots=2, x=target.x, y=target.y})
local targets2 = self:archeryAcquireTargets(tg, {multishots=2, x=target.x, y=target.y, no_energy = true})
if targets2 then self:archeryShoot(targets2, t, nil, {mult=dam*0.25}) end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment