From 0ae7d19a3733624bd56366cc9edbb8fa45a55dd5 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Tue, 10 Jun 2014 18:36:12 +0200 Subject: [PATCH] fix damn --- .../tome/data/talents/techniques/buckler-training.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/game/modules/tome/data/talents/techniques/buckler-training.lua b/game/modules/tome/data/talents/techniques/buckler-training.lua index 8d2d87f5a9..4be69049f7 100644 --- a/game/modules/tome/data/talents/techniques/buckler-training.lua +++ b/game/modules/tome/data/talents/techniques/buckler-training.lua @@ -66,7 +66,6 @@ newTalent { stamina = 15, requires_target = true, tactical = { ATTACK = 2, ESCAPE = { knockback = 1 }, DISABLE = { knockback = 1 } }, - no_energy = "fake", on_pre_use = function(self, t, silent) 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 @@ -142,10 +141,10 @@ newTalent { end -- 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 --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 return true -- GitLab