Commit 0ae7d19a3733624bd56366cc9edbb8fa45a55dd5

Authored by DarkGod
1 parent ef6140db

fix damn

... ... @@ -66,7 +66,6 @@ newTalent {
66 66 stamina = 15,
67 67 requires_target = true,
68 68 tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } },
69   - no_energy = "fake",
70 69 on_pre_use = function(self, t, silent)
71 70 if not self:hasShield() or not self:hasArcheryWeapon() then
72 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 141 end
143 142
144 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 145 if targets then
147 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 148 end
150 149
151 150 return true
... ...