What alias/snippet is this for?
map/targeting (I believe)
Describe the bug
Problems targeting Bandit Captain (BC1) in combat. Based upon what the error message said, my guess is that it couldn't find the attacker's x-coordinate within the string that contains coordinate information.
To Reproduce
Player character was attacking target creature (BC1) from the right within 5ft (so tokens are touching) with a dagger. Target creature has the paralyzed effect applied upon them.
Expected behavior
Player Character attacks and hits target creature (BC1) dealing damage, resolving effects, etc.
Screenshots
(Attacker is Blai and target is BC1)
Additional context
Line 18, col 17
return f''' {targeting.target_output(targeting_dict = targeting.target_parsing(args = args), attacker = targeting.attacker(args = args))} '''
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Line 202, col 39, in target_output
distance = distance_calculator.distance(attacker = attacker, target = combat().get_combatant(target))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Line 89, col 26, in distance
delta_x = grid_alphabet.index(attacker_x_coordinate) - grid_alphabet.index(target_x_coordinate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: substring not found```
What alias/snippet is this for? map/targeting (I believe)
Describe the bug Problems targeting Bandit Captain (BC1) in combat. Based upon what the error message said, my guess is that it couldn't find the attacker's x-coordinate within the string that contains coordinate information.
To Reproduce Player character was attacking target creature (BC1) from the right within 5ft (so tokens are touching) with a dagger. Target creature has the paralyzed effect applied upon them.
Expected behavior Player Character attacks and hits target creature (BC1) dealing damage, resolving effects, etc.
Screenshots
(Attacker is Blai and target is BC1)
Additional context