summaryrefslogtreecommitdiff
path: root/npc/014-5-1/sagratha.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-17 11:21:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-17 11:21:06 -0300
commit759a5f77481e5536ae9e495d1230ec8953629c13 (patch)
tree3a0355d4ed822a308adfe385024f4efc6200a933 /npc/014-5-1/sagratha.txt
parentb67f30826d373c3c95320987cae82344d8e1c8af (diff)
downloadserverdata-759a5f77481e5536ae9e495d1230ec8953629c13.tar.gz
serverdata-759a5f77481e5536ae9e495d1230ec8953629c13.tar.bz2
serverdata-759a5f77481e5536ae9e495d1230ec8953629c13.tar.xz
serverdata-759a5f77481e5536ae9e495d1230ec8953629c13.zip
Fix sagratha
Diffstat (limited to 'npc/014-5-1/sagratha.txt')
-rw-r--r--npc/014-5-1/sagratha.txt9
1 files 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;