From 759a5f77481e5536ae9e495d1230ec8953629c13 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 17 Sep 2019 11:21:06 -0300 Subject: Fix sagratha --- npc/014-5-1/sagratha.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index 68eab483d..b953fdebb 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -73,7 +73,8 @@ function script SaggyMobCount { // Safety - Impossible Situation if (.@m < 2 || .@m > 3 || .@q < 6) { Exception("Player found cheating/breaking the rules. Character banned. Please contact GM Staff if you believe this is an error.", RB_DEFAULT|RB_SPEECH); - atcommand "@jailfor 7h "+strcharinfo(0); + //atcommand "@jailfor 7h "+strcharinfo(0); + Exception ("Exception at exception, shutting down! (m is "+.@m+", q is "+.@q+")", RB_SPEECH|RB_ISFATAL); close; } @@ -89,10 +90,10 @@ function script SaggyMobCount { mesq l("Hello."); next; - if (.@q == 6) - goto L_Finish; if (.@m == 2 && .@q >= 6) goto L_Reward; + if (.@q == 6) + goto L_Finish; if (SAGRATHA_SCORE < 0) goto L_Unhappy; @@ -207,7 +208,7 @@ L_Finish: // WHAT if (.@m != 3) { Exception("Player found cheating/breaking the rules. Character banned. Please contact GM Staff if you believe this is an error.", RB_DEFAULT|RB_SPEECH); - atcommand "@jail 7h "+strcharinfo(0); + atcommand "@jailfor 7h "+strcharinfo(0); close; } mesn; -- cgit v1.2.3-70-g09d2