From a2ec8a6de7c0de49aed32fb356de96e8e74215bd Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 27 Sep 2007 23:02:50 +0000 Subject: 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11318 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/The_Sign_Quest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/quests/The_Sign_Quest.txt') diff --git a/npc/quests/The_Sign_Quest.txt b/npc/quests/The_Sign_Quest.txt index f55e6913f..9e2a4fe1d 100644 --- a/npc/quests/The_Sign_Quest.txt +++ b/npc/quests/The_Sign_Quest.txt @@ -2826,7 +2826,7 @@ L_quiztime: for( set .@i,1; .@i <= 10; set .@i,.@i+1 ) { // choose which question to ask next - set .@qpos, rand(.@size); + set .@qpos, rand(1,.@size); set .@qid, .@signarray[.@qpos]; // remove the question from the array (reducing its size) -- cgit v1.2.3-70-g09d2