ULTIMA: ULTIMA6: Fix triple crossbow extra projectile targeting

This commit is contained in:
PushmePullyu
2023-12-18 17:41:33 +11:00
committed by Matthew Duggan
parent 611986a9c2
commit 12da032467
@@ -1561,7 +1561,7 @@ function combat_range_weapon_1D5F9(attacker, target_x, target_y, target_z, weapo
--set up targets table
if weapon_obj_n == 0x32 then --triple crossbow
local index = ((attacker.y - target_y + 5) * 11) + (attacker.x - target_x + 5) + 1
local index = ((target_y - attacker.y + 5) * 11) + (target_x - attacker.x + 5) + 1
targets = {
{x=target_x,
y=target_y,