Skip to content
Snippets Groups Projects
Commit 0ae7d19a authored by DarkGod's avatar DarkGod
Browse files

fix damn

parent ef6140db
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,6 @@ newTalent { ...@@ -66,7 +66,6 @@ newTalent {
stamina = 15, stamina = 15,
requires_target = true, requires_target = true,
tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } }, tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } },
no_energy = "fake",
on_pre_use = function(self, t, silent) on_pre_use = function(self, t, silent)
if not self:hasShield() or not self:hasArcheryWeapon() then if not self:hasShield() or not self:hasArcheryWeapon() then
if not silent then game.logPlayer(self, "You require a ranged weapon and a shield to use this talent.") end if not silent then game.logPlayer(self, "You require a ranged weapon and a shield to use this talent.") end
...@@ -142,10 +141,10 @@ newTalent { ...@@ -142,10 +141,10 @@ newTalent {
end end
-- Ranged attack -- Ranged attack
local targets = self:archeryAcquireTargets(nil, {one_shot=true, x=target.x, y=target.y}) local targets = self:archeryAcquireTargets(nil, {one_shot=true, x=target.x, y=target.y, no_energy = true})
if targets then if targets then
--game.logSeen(self, "%s follows up with a shot from %s!", self.name:capitalize(), sling:getName()) --game.logSeen(self, "%s follows up with a shot from %s!", self.name:capitalize(), sling:getName())
self:archeryShoot(targets, t, nil, {mult=t.getSlingMult(self, t), no_energy = true}) self:archeryShoot(targets, t, nil, {mult=t.getSlingMult(self, t)})
end end
return true return true
......
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