Commit 0ae7d19a3733624bd56366cc9edbb8fa45a55dd5

Authored by DarkGod
1 parent ef6140db

fix damn

@@ -66,7 +66,6 @@ newTalent { @@ -66,7 +66,6 @@ newTalent {
66 stamina = 15, 66 stamina = 15,
67 requires_target = true, 67 requires_target = true,
68 tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } }, 68 tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } },
69 - no_energy = "fake",  
70 on_pre_use = function(self, t, silent) 69 on_pre_use = function(self, t, silent)
71 if not self:hasShield() or not self:hasArcheryWeapon() then 70 if not self:hasShield() or not self:hasArcheryWeapon() then
72 if not silent then game.logPlayer(self, "You require a ranged weapon and a shield to use this talent.") end 71 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 {
142 end 141 end
143 142
144 -- Ranged attack 143 -- Ranged attack
145 - local targets = self:archeryAcquireTargets(nil, {one_shot=true, x=target.x, y=target.y}) 144 + local targets = self:archeryAcquireTargets(nil, {one_shot=true, x=target.x, y=target.y, no_energy = true})
146 if targets then 145 if targets then
147 --game.logSeen(self, "%s follows up with a shot from %s!", self.name:capitalize(), sling:getName()) 146 --game.logSeen(self, "%s follows up with a shot from %s!", self.name:capitalize(), sling:getName())
148 - self:archeryShoot(targets, t, nil, {mult=t.getSlingMult(self, t), no_energy = true}) 147 + self:archeryShoot(targets, t, nil, {mult=t.getSlingMult(self, t)})
149 end 148 end
150 149
151 return true 150 return true