summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-27 23:02:50 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-27 23:02:50 +0000
commita2ec8a6de7c0de49aed32fb356de96e8e74215bd (patch)
tree83951c26a3fee9414f969be22e2bfc1a681b7190 /npc
parent2ca36fc91dc2303b6dea61b902d820b8b2fc5fab (diff)
downloadhercules-a2ec8a6de7c0de49aed32fb356de96e8e74215bd.tar.gz
hercules-a2ec8a6de7c0de49aed32fb356de96e8e74215bd.tar.bz2
hercules-a2ec8a6de7c0de49aed32fb356de96e8e74215bd.tar.xz
hercules-a2ec8a6de7c0de49aed32fb356de96e8e74215bd.zip
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
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/The_Sign_Quest.txt2
1 files changed, 1 insertions, 1 deletions
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)