Bow suffix "of true flight" not working

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jacobdm
Wayist
Posts: 21
Joined: Fri Oct 01, 2010 4:53 pm

Bow suffix "of true flight" not working

#1 Post by jacobdm »

I have a bow "of true flight" which gives +200% travel speed. when I fire arrows, the arrows still don't seem to move any faster. I tested it against a bow that doesn't have that that modifier, and after shooting, both times the arrow is 4 squares away from me after shooting.

I haven't been able to compile ToME locally to debug it, but from looking at the code, I think that this can be fixed by changing line 281 in Archery.lua to:
tg.speed = (tg.speed or 6) * (ammo.combat.travel_speed or 100) / 100 * (weapon.combat.travel_speed or 100) / 100

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Bow suffix "of true flight" not working

#2 Post by jenx »

I think this has been fixed for b39: http://git.develz.org/?p=tome.git;a=com ... bf8e86200a
MADNESS rocks

Post Reply