You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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```
The text was updated successfully, but these errors were encountered:
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
![download](https://private-user-images.githubusercontent.com/104603075/306805126-2fdce8a0-2802-4d57-8686-ab2392716fe2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjU4MzYsIm5iZiI6MTczOTI2NTUzNiwicGF0aCI6Ii8xMDQ2MDMwNzUvMzA2ODA1MTI2LTJmZGNlOGEwLTI4MDItNGQ1Ny04Njg2LWFiMjM5MjcxNmZlMi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwOTE4NTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZjA5ZjM1NjBhMzM5YmFhZWJlZGE1MjhhYzNmMjI4MmU4NGQyNjhkN2FkYmQ3MzJhZWQzZWU2ZTE2ZjVmM2E0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.B9m6GvRkgkq2vxaOzOEfd_1LNdLdl9YzKb6VhL2J36I)
(Attacker is Blai and target is BC1)
Additional context
The text was updated successfully, but these errors were encountered: