From cf79d1a0ac295a0da1562224fc49b0ece8cebb8d Mon Sep 17 00:00:00 2001 From: test Date: Thu, 20 Oct 2022 15:14:20 +0900 Subject: [PATCH] Fix Fatal Error Case 1. When init hammerdin, can not find node error. Change 122 to 1122 Case 2. When run nihlathak, can not find node error. Change 2500 to 500(rollback) --- src/char/paladin/hammerdin.py | 2 +- src/run/nihlathak.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/char/paladin/hammerdin.py b/src/char/paladin/hammerdin.py index f1f376612..2d0b82d60 100644 --- a/src/char/paladin/hammerdin.py +++ b/src/char/paladin/hammerdin.py @@ -25,7 +25,7 @@ def __init__(self, *args, **kwargs): self._pather.offset_node(149, (70, 10)) # THIS NODE NODE LONGER EXISTS FOR AUTMAP CHARS self._pather.offset_node(1149, (70, 10)) # not sure this node has to be offset for automap, keeping it to be safe self._pather.offset_node(122, (-50, 150)) - self._pather.offset_node(188, (-100, 100)) + self._pather.offset_node(1122, (-100, 100)) #custom color filter for travincil self._trav_filters = [ {"erode": 1, "blur": 3, "lh": 0, "ls": 0, "lv": 200, "uh": 0, "us": 255, "uv": 255}, # council's red lightning diff --git a/src/run/nihlathak.py b/src/run/nihlathak.py index 67ce2f603..bc56baa52 100644 --- a/src/run/nihlathak.py +++ b/src/run/nihlathak.py @@ -132,10 +132,10 @@ class EyeCheckData: end_nodes: list[int] check_arr = [ - EyeCheckData("ni2_a_safe_dist", [(84, 710)] * 3, "ni2_circle_a", [2500], [501]), - EyeCheckData("ni2_b_safe_dist", [(1267, 595)] * 4, "ni2_circle_b", [2505], [506]), - EyeCheckData("ni2_c_safe_dist", [(1267, 13)] * 4, "ni2_circle_c", [2510], [511]), - EyeCheckData("ni2_d_safe_dist", [(65, 10)] * 3, "ni2_circle_d", [2515], [516, 517]), + EyeCheckData("ni2_a_safe_dist", [(84, 710)] * 3, "ni2_circle_a", [500], [501]), + EyeCheckData("ni2_b_safe_dist", [(1267, 595)] * 4, "ni2_circle_b", [505], [506]), + EyeCheckData("ni2_c_safe_dist", [(1267, 13)] * 4, "ni2_circle_c", [510], [511]), + EyeCheckData("ni2_d_safe_dist", [(65, 10)] * 3, "ni2_circle_d", [515], [516, 517]), ] self._pather.traverse_nodes_fixed([(1270,10), (270,148), (120,670)], self._char)