diff --git a/game/modules/tome/class/interface/Archery.lua b/game/modules/tome/class/interface/Archery.lua index 4693724c27c3f50cc28e2b71feea18f0515fdddb..c1205481643e1c497f9f3d51726a17385d0e71ad 100644 --- a/game/modules/tome/class/interface/Archery.lua +++ b/game/modules/tome/class/interface/Archery.lua @@ -50,7 +50,8 @@ function _M:archeryAcquireTargets(tg, params) if not tg.range then tg.range=weapon.range or 6 end tg.display = tg.display or {display='/'} - tg.speed = (tg.speed or 10) + (ammo.combat_travel_speed or 0) + (weapon.combat_travel_speed or 0) + (self.travel_speed or 0) + tg.speed = (tg.speed or 10) + (ammo.combat.travel_speed or 0) + (weapon.travel_speed or 0) + (self.travel_speed or 0) + print("[PROJECTILE SPEED] ::", tg.speed) local x, y = self:getTarget(tg) if not x or not y then return nil end @@ -286,7 +287,7 @@ function _M:archeryShoot(targets, talent, tg, params) if not tg.range then tg.range=weapon.range or 6 end tg.display = tg.display or {display=' ', particle="arrow", particle_args={tile="shockbolt/"..(ammo.proj_image or realweapon.proj_image):gsub("%.png$", "")}} - tg.speed = (tg.speed or 10) + (ammo.combat_travel_speed or 0) + (weapon.combat_travel_speed or 0) + (self.travel_speed or 0) + tg.speed = (tg.speed or 10) + (ammo.combat.travel_speed or 0) + (weapon.travel_speed or 0) + (self.travel_speed or 0) tg.archery = params or {} tg.archery.weapon = weapon for i = 1, #targets do