Browse Source

Fixed a small script typo in r11315 (offsets are 1-26, so rand() needs to return values from that interval and not 0-25).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11318 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 years ago
parent
commit
57ba34ee99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      npc/quests/The_Sign_Quest.txt

+ 1 - 1
npc/quests/The_Sign_Quest.txt

@@ -2826,7 +2826,7 @@ L_quiztime:
 	for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
 	for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
 	{
 	{
 		// choose which question to ask next
 		// choose which question to ask next
-		set .@qpos, rand(.@size);
+		set .@qpos, rand(1,.@size);
 		set .@qid, .@signarray[.@qpos];
 		set .@qid, .@signarray[.@qpos];
 		
 		
 		// remove the question from the array (reducing its size)
 		// remove the question from the array (reducing its size)