summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-03 14:58:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-03 14:58:49 -0300
commita1259789dccdf8018ba723690c73791c29c54e14 (patch)
tree9f3c5caefb8d6a98ba99302c1ce40ccadee5fbc0 /npc/003-1
parent971d1dbf248e6c0cb4bf036abaa03bf48327abd1 (diff)
downloadserverdata-a1259789dccdf8018ba723690c73791c29c54e14.tar.gz
serverdata-a1259789dccdf8018ba723690c73791c29c54e14.tar.bz2
serverdata-a1259789dccdf8018ba723690c73791c29c54e14.tar.xz
serverdata-a1259789dccdf8018ba723690c73791c29c54e14.zip
Fix bugs on Quirino
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/quirino.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/npc/003-1/quirino.txt b/npc/003-1/quirino.txt
index 4e14eae68..716ef6b10 100644
--- a/npc/003-1/quirino.txt
+++ b/npc/003-1/quirino.txt
@@ -107,16 +107,12 @@ function quirinHonor {
L_SignUp:
// Player cannot be carrying anything
- getinventorylist;
- if(@inventorylist_count>=1) goto L_Full;
+ if(Weight >= 1) goto L_Full;
getcartinventorylist();
if(@cartinventorylist_count>=1) goto L_Full;
// Warp player
- if (rand2(1,2) == 1)
- warp "001-8", rand(42, 57), 42;
- else
- warp "001-8", rand(42, 57), 57;
+ warp "001-8", rand2(42, 57), rand2(42, 57);
// Prevent further movements!
setpcblock(PCBLOCK_SOFT, true);