If in doubt, just use path a (#318)
This commit is contained in:
@@ -134,6 +134,7 @@ ni2_circle_a=716,599
|
||||
ni2_circle_b=1196,348
|
||||
ni2_circle_c=686,38, 542,20
|
||||
ni2_circle_d=186,272
|
||||
ni2_circle_back_to_a=136,507, 887,613, 838,490, 630,499
|
||||
# Nilathak any of the 4 "arms"
|
||||
ni2_a_safe_dist=267,499, 279,533, 372,536, 283,529, 360,524, 513,553, 289,449, 154,219
|
||||
ni2_b_safe_dist=864,373, 987,549, 842,521, 977,504, 886,453, 896,449, 861,461, 1206,279, 1068,569
|
||||
|
||||
+5
-2
@@ -88,9 +88,12 @@ class Nihlatak:
|
||||
end_nodes = data.end_nodes
|
||||
break
|
||||
|
||||
# exit if path was not found
|
||||
# circle back and just assume path a if we failed to find the "eye"
|
||||
if end_nodes is None:
|
||||
return False
|
||||
self._pather.traverse_nodes_fixed("ni2_circle_back_to_a", self._char)
|
||||
self._pather.traverse_nodes_fixed(check_arr[0].destination_static_path_key, self._char)
|
||||
self._pather.traverse_nodes(check_arr[0].save_dist_nodes, self._char, time_out=2, do_pre_move=False)
|
||||
end_nodes = check_arr[0].end_nodes
|
||||
|
||||
# Attack & Pick items
|
||||
self._char.kill_nihlatak(end_nodes)
|
||||
|
||||
Reference in New Issue
Block a user