Bow suffix "of true flight" not working
Posted: Thu Mar 01, 2012 7:04 pm
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
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