quest_db:
"Hunting Orc Zombies"80001,0,1153,3,0,0,0,0,"Hunting Orc Zombies"
questid2display.txt:
80001#Hunting Orc Zombies#SG_FEEL#QUE_NOIMAGE#
You have accepted a Hunting Task from the Quest Board. Hurry up and complete it!#
Kill 3 Orc Zombies, then return to the Quest Board..#
npc script:
//===== eAthena Script =======================================
//= Hunting Quests (Quest Board)
//===== By: ==================================================
//= Izumi
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= ReverieRO
//===== Description: =========================================
//= Basic version.
//= Repeatable EXP Quest (Orc Zombie)
//===== Additional Comments: =================================
//= 1.0 First version.
//============================================================
FIND_A_PLACE_FOR_IT script NPCNAME#ZZZ SPRITENUMBER,{
if (checkquest(80001) != -1) {
if (checkquest(80001,HUNTING) != 2 ) {
mes "[Test NPC]";
mes "Have you finished hunting the 3 Orc Zombies?";
next;
switch(select("Yes:No:I want to quit")) {
case 1:
mes "[Test NPC]";
mes "Hmm, I don't think you've hunted 3 yet...";
close;
case 2:
mes "[Test NPC]";
mes "Remember, I need help hunting Orc Zombies so go and hunt 3 of them.";
close;
case 3:
mes "[Test NPC]";
mes "Are you sure that you want to stop hunting?";
mes "Any progress that you've made will be erased";
next;
switch(select("Yes:No")) {
case 1:
mes "[Test NPC]";
mes "Ok then, well come back here if you change your mind.";
erasequest 80001;
close;
case 2:
mes "[Test NPC]";
mes "Please kill 3 Orc Zombies.";
close;
}
}
}
else {
mes "[Test NPC]";
mes "Amazing, you did that with speed.";
getexp 380,0;
erasequest 80001;
close;
}
}
//for minimum level
if (BaseLevel > 34) {
//for maximum level
if (BaseLevel < 90) {
mes "[Test NPC]";
switch(select("Accept:Decline")) {
case 1:
mes "[Test NPC]";
mes "Come back when you've finished your task and I will give you a small reward.";
setquest 80001;
close;
case 2:
close;
}
}
else {
mes "[Test NPC]";
mes "You are too powerful for this task, I can't give you this quest!";
next;
close;
}
}
else {
mes "[Test NPC]";
mes "You wouldn't survive here, choose another monster."
close;
}
}