summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-12 14:40:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-12 14:40:24 -0300
commit6905c050c9b94107ba1984b798a35ca86c447d7c (patch)
tree54c4ba38ef03ad67c6658c8b29642cceaa7cbe27
parent07afa24c6f5f1215ed72e203d38fec59dabfdd58 (diff)
downloadserverdata-6905c050c9b94107ba1984b798a35ca86c447d7c.tar.gz
serverdata-6905c050c9b94107ba1984b798a35ca86c447d7c.tar.bz2
serverdata-6905c050c9b94107ba1984b798a35ca86c447d7c.tar.xz
serverdata-6905c050c9b94107ba1984b798a35ca86c447d7c.zip
MobHunting quest (Dausen) - stage 1 - Crocs
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/003-1/lieutenantdausen.txt67
2 files changed, 60 insertions, 11 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index e72565909..66b36b945 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -217,6 +217,10 @@ quest_db: (
Id: 65
Name: "TulimsharQuest_Inac"
},
+{
+ Id: 66
+ Name: "TulimsharQuest_MobTutorial"
+},
// ID 71 to 90: Halinarzo Quests
{
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index a981b54f1..c899ff1af 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -15,8 +15,10 @@
// 3 - Reward given
003-1,111,84,0 script Lieutenant Dausen NPC_PLAYER,{
+ function DausenMobTutorial;
.@q = getq(TulimsharQuest_WaterForGuard);
+ .@t = getq(TulimsharQuest_MobTutorial);
switch (.@q) {
case 0:
@@ -66,17 +68,7 @@
break;
// Monster info
case 4:
- mesn;
- mesq l("Eh? Well, you're in a desert. You can see Maggots and Scorpions, they're very common on these parts. Giant Maggots are very dangerous, but also very slow. If you know how to fight, they will yield you lots of experience.");
- next;
- mesn;
- mesq l("West of here is a beach. In said beach there are blubs, they don't attack but they walk in packs. Be careful if you provoke too many of them.");
- next;
- mesn;
- mesq l("Also, south of here are mines. Talk to Tycoon for information about it.");
- next;
- mesn;
- mesq l("By last, east of here are the Canyons. Do not go there before level 20, and even then, do not engage snakes in combat. They are fast and very dangerous.");
+ DausenMobTutorial();
break;
default:
closedialog;
@@ -103,6 +95,59 @@ L_Reward:
l("Take this badge, so you can get access to the guard house. You will find more work there. Bye, and good luck!");
return;
+// Mob Tutorial Quest
+function DausenMobTutorial {
+ .@t = getq(TulimsharQuest_MobTutorial);
+ .@k = getq2(TulimsharQuest_MobTutorial);
+ switch (.@t) {
+ case 0:
+ case 1:
+ // Level Requeriment (same as scorpions)
+ if (BaseLevel < 9) {
+ mesn;
+ mesq l("They're strong, so keep fighting Maggots and Scorpions which you're used to, until you get stronger.");
+ close;
+ }
+ // Reward
+ if (.@k >= 10) {
+ // 30% of exp values, and 6 GP/Level
+ getexp 75, 0;
+ Zeny+=54;
+ mesn;
+ mesq l("Welp, you killed 10 Crocs. They're not dangerous, as you see. That's why we don't bother in cleaning them up.");
+ setq TulimsharQuest_MobTutorial, 2, 0;
+ close;
+ }
+ // Quest Body
+ mesn;
+ mesq l("So. Uhm. The monsters here have varying levels of strength... I think the best way is to witness that yourself.");
+ next;
+ mesn;
+ mesq l("Do you see the crocs, with their claws and such? They have high defense, this means your attacks deal less damage.");
+ next;
+ mesn;
+ mesq l("They're not too dangerous, but takes a lot to kill. So, if you kill 10 of them, I'll know you're dedicated in learning which monsters are out there.");
+ next;
+ mesn;
+ mesq l("Can you do that? I'll be waiting!");
+ compareandsetq TulimsharQuest_MobTutorial, 0, 1;
+ default:
+ mesn;
+ mesq l("Eh? Well, you're in a desert. You can see Maggots and Scorpions, they're very common on these parts. Giant Maggots are very dangerous, but also very slow. If you know how to fight, they will yield you lots of experience.");
+ next;
+ mesn;
+ mesq l("West of here is a beach. In said beach there are blubs, they don't attack but they walk in packs. Be careful if you provoke too many of them.");
+ next;
+ mesn;
+ mesq l("Also, south of here are mines. Talk to Tycoon for information about it.");
+ next;
+ mesn;
+ mesq l("By last, east of here are the Canyons. Do not go there before level 20, and even then, do not engage snakes in combat. They are fast and very dangerous.");
+ break;
+ }
+ return;
+}
+
// The Monster King guild have a special menu
L_MKControl:
mesn;