summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-20 12:48:29 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-20 12:48:29 -0300
commit6c0c075f16efcebdcb8265df27475c54acc5610b (patch)
tree0924ac90e79db89b2804a52d116308aafa155534
parent7d91abc20099e908507d264aa9c64630ec27460d (diff)
downloadserverdata-6c0c075f16efcebdcb8265df27475c54acc5610b.tar.gz
serverdata-6c0c075f16efcebdcb8265df27475c54acc5610b.tar.bz2
serverdata-6c0c075f16efcebdcb8265df27475c54acc5610b.tar.xz
serverdata-6c0c075f16efcebdcb8265df27475c54acc5610b.zip
Miler is now part of GHQ (pretty basic reward, could use something else?)
-rw-r--r--npc/003-1/aidan.txt9
-rw-r--r--npc/019-1-1/miler.txt7
-rw-r--r--npc/functions/mobhunter.txt6
3 files changed, 21 insertions, 1 deletions
diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt
index e956da866..951774eb8 100644
--- a/npc/003-1/aidan.txt
+++ b/npc/003-1/aidan.txt
@@ -164,6 +164,15 @@ L_Finish:
mesq l("And your rare, a @@! Enjoy!", getitemlink(PinkHelmet));
mesc l("Gained @@ XP", "15750");
close;
+ case Moggun:
+ setq General_Hunter, 0, 0;
+ Zeny=Zeny+150000;
+ getitem StrangeCoin, 60;
+ getexp 15750, 100;
+ mesn;
+ mesq l("Good job, here is 150,000 GP and 60 @@!", getitemlink(StrangeCoin));
+ mesc l("Gained @@ XP", "15750");
+ close;
}
mesc l("ILLEGAL SCRIPT POSITION REACHED, PLEASE REPORT.", 1);
close;
diff --git a/npc/019-1-1/miler.txt b/npc/019-1-1/miler.txt
index 45b69d1fa..8ed2270a5 100644
--- a/npc/019-1-1/miler.txt
+++ b/npc/019-1-1/miler.txt
@@ -23,7 +23,8 @@
rif(.@w == 1, l("I need help.")), L_Well,
rif(.@q == 3 && countitem(HerbalTea), l("The Doctor sent you some tea.")), L_Doctor,
rif(.@q == 5 && countitem(PresentBox), l("I have a present box to you open.")), L_Box,
- rif(.@q == 4, l("So, could I help you?")), L_Quest;
+ rif(.@q == 4, l("So, could I help you?")), L_Quest,
+ l("Do you want any monster killed?"), L_GHQ;
close;
@@ -173,6 +174,10 @@ L_Success:
mesq l("Many thanks. I couldn't live without it. Please come back later.");
close;
+L_GHQ:
+ GHQ_Assign(Moggun, "Nivalis", "150,000 GP, 60x "+getitemlink(StrangeCoin));
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, KnitHat);
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index a2e088ba8..7030d28ef 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -21,6 +21,9 @@ function script GHQ_GetQuestIDByMonsterID {
case Pinkie:
return 5;
break;
+ case Moggun:
+ return 6;
+ break;
default:
debugmes "Invalid mob ID: " + getarg(0);
dispbottom l("ERROR, Please report: GHQ GQID: Invalid ID: @@", getarg(0));
@@ -48,6 +51,9 @@ function script GHQ_GetMonsterIDByQuestID {
case 5:
return Pinkie;
break;
+ case 6:
+ return Moggun;
+ break;
default:
debugmes "Invalid quest ID: " + getarg(0);
dispbottom l("ERROR, Please report: GHQ GMID: Invalid ID: @@", getarg(0));