From 6828aa2d7d855eb8abf3c82d6843ff9217dd94cc Mon Sep 17 00:00:00 2001 From: depyraken Date: Sat, 2 Apr 2016 16:41:48 +0200 Subject: [PATCH] further troubleshooting => check the state value --- primitives/newbieland/fisherman.primitive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/newbieland/fisherman.primitive b/primitives/newbieland/fisherman.primitive index d724214..b40be2f 100644 --- a/primitives/newbieland/fisherman.primitive +++ b/primitives/newbieland/fisherman.primitive @@ -427,7 +427,6 @@ ()import("script_BotClassInit"); - ()phraseEndSystemMsg(0, "shout", "tu_m_as_cible"); //$RCnReq = "1"; // $botFamily, $RCnReq => $RCisRequired, $RCsFamily, $RCminElement (returns "" when not found) @@ -1910,6 +1909,7 @@ // check if player is in the good zone for the fishing occupation ($prefix)getStateName(); $name = $prefix + "_fw"; + ()phraseEndSystemMsg(0, "shout", $name); (distance)npc_distance_helper.getBotIndexByName($name); (distance)npc_distance_helper.getPlayerDistance(distance, $playerEid); if(distance < 10){