[git] Strangling Shot interaction with Quiver of the Sun

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Thasero
Cornac
Posts: 37
Joined: Sun Jul 21, 2013 4:49 pm

[git] Strangling Shot interaction with Quiver of the Sun

#1 Post by Thasero »

If you're wielding the Quiver of the Sun and use the new Strangling Shot skill in the Archery Excellence tree, it will only hit the first enemy targeted even though you're using piercing arrows.

In excellence.lua, the lines:

Code: Select all

		local tg = self:getTalentTarget(t)
		local targets = self:archeryAcquireTargets(tg, {one_shot=true})
		if not targets then return end
		self:archeryShoot(targets, t, tg, {mult=self:combatTalentWeaponDamage(t, 0.9, 1.7)})
		return true
should be:

Code: Select all

		local targets = self:archeryAcquireTargets(nil, {one_shot=true})
		if not targets then return end
		self:archeryShoot(targets, t, nil, {mult=self:combatTalentWeaponDamage(t, 0.9, 1.7)})
		return true
rather than acquiring the target twice.

Post Reply