diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-28 04:10:17 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-28 04:10:17 +0000 |
commit | 382f0b77bf009b938e578286b1048ccf8038d443 (patch) | |
tree | 38149064107c7d0cf3fcf8846674b8b4e2e8c6b5 /doc/sample/npc_test_quest.txt | |
parent | df3a626f0375fa50c21b1371d565178ec1415935 (diff) | |
download | hercules-382f0b77bf009b938e578286b1048ccf8038d443.tar.gz hercules-382f0b77bf009b938e578286b1048ccf8038d443.tar.bz2 hercules-382f0b77bf009b938e578286b1048ccf8038d443.tar.xz hercules-382f0b77bf009b938e578286b1048ccf8038d443.zip |
* Added a point to 'npcskill' documentation.
* Added Malangdo Tool Dealer.
* Fixed quest log sample, which never worked to begin with -- thanks clydelion!
* Fixed potential error with clones in custom Hunting Missions script (bugreport:7055).
* Follow-up r16990, forgot to commit the EXP fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17055 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/sample/npc_test_quest.txt')
-rw-r--r-- | doc/sample/npc_test_quest.txt | 22 |
1 files changed, 11 insertions, 11 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; |