summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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));