summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/sample/npc_test_quest.txt22
-rw-r--r--doc/script_commands.txt3
2 files changed, 13 insertions, 12 deletions
diff --git a/doc/sample/npc_test_quest.txt b/doc/sample/npc_test_quest.txt
index 8a9fa434d..15fcdc210 100644
--- a/doc/sample/npc_test_quest.txt
+++ b/doc/sample/npc_test_quest.txt
@@ -3,17 +3,17 @@
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
-//= 20120904
+//= 20121227
//===== Description: =========================================
//= Demonstrates quest commands.
//============================================================
// Before installing an NPC like the one below, you would
// need to add the quest to /db/quest_db.txt - e.g:
-// 9000,0,1002,3,0,0,0,0,"3 Splats Please!"
+// 70000,0,1002,3,0,0,0,0,"3 Splats Please!"
prontera,90,95,1 script Jelly 123,{
- if(checkquest(9000) == -1) { // Quest not yet started.
+ if(checkquest(70000) == -1) { // Quest not yet started.
mes "[Jelly]";
mes "Hey there! Would you help me?";
next;
@@ -26,21 +26,21 @@ prontera,90,95,1 script Jelly 123,{
mes "[Jelly]";
mes "Those Porings are weirding me out.";
mes "Would you kill 3 for me?";
- setquest 9000; // Adds the quest to your Quest Window.
+ setquest 70000; // Adds the quest to your Quest Window.
close;
}
- } else if(checkquest(9000) == 1) { // Quest is active.
- mes "[Jelly]";
- mes "Keep going, almost there!";
- close;
- } else if(checkquest(9000,HUNTING) == 2) { // All monsters killed.
+ } else if(checkquest(70000,HUNTING) == 2) { // All monsters killed.
mes "[Jelly]";
mes "Awesome! Thank you!";
getexp 10000,0;
dispbottom "You have been rewarded with 10,000 Base Exp.";
- completequest 9000; // Sets quest status to "complete".
+ completequest 70000; // Sets quest status to "complete".
+ close;
+ } else if(checkquest(70000) == 1) { // Quest is active.
+ mes "[Jelly]";
+ mes "Keep going, almost there!";
close;
- } else if(checkquest(9000) == 2) { // Quest finished.
+ } else if(checkquest(70000) == 2) { // Quest finished.
mes "[Jelly]";
mes "Thanks again for doing that for me!";
close;
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 80c528bdb..3aaba5b50 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -6631,7 +6631,8 @@ within the default skill range or the command will fail silently.
The "stat point" parameter temporarily sets all NPC stats to the given value,
and "NPC level" is the temporary level of the NPC (used in some skills).
-Neither value can be greater than the max level defined in config.
+Neither value can be greater than the max level defined in config, and will
+not work properly if the NPC has a mob sprite.
// Casts Level 10 Heal on the attached player, calculated with
// all stats 99 and base level 60.