diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-24 12:09:51 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-24 12:09:51 -0200 |
commit | 2780bd97e206f974289bcc627741d34eb6d6b707 (patch) | |
tree | 3db8629fd871603b0e2206eabe775c9abe973d47 /npc/003-1 | |
parent | 7e4bdc1b13101fb2ef043f70573d55efafea7719 (diff) | |
download | serverdata-2780bd97e206f974289bcc627741d34eb6d6b707.tar.gz serverdata-2780bd97e206f974289bcc627741d34eb6d6b707.tar.bz2 serverdata-2780bd97e206f974289bcc627741d34eb6d6b707.tar.xz serverdata-2780bd97e206f974289bcc627741d34eb6d6b707.zip |
Move mobhunter rewards out of Aidan and into functions/mobhunter
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/aidan.txt | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt index 08f4ab05c..d94722b52 100644 --- a/npc/003-1/aidan.txt +++ b/npc/003-1/aidan.txt @@ -113,68 +113,7 @@ L_Assign: L_Finish: - // Check if you can store a Strange Coin (you really should) - // Another item too, which I'm sure you won't get it anywhere. - inventoryplace StrangeCoin, 1, NPCEyes, 1; - mes l("Current progress: @@/10000 @@", getq2(General_Hunter), getmonsterlink(GHQ_GetMonsterIDByQuestID(getq(General_Hunter)))); - mes ""; - GHMEMO[getq(General_Hunter)]=getq2(General_Hunter); - switch (GHQ_GetMonsterIDByQuestID(getq(General_Hunter))) { - case Maggot: - setq General_Hunter, 0, 0; - Zeny=Zeny+25000; - inventoryplace MaggotCocoon, 1; - makepet(Maggot); // Works the same, even if I'm using mob_db constant - getexp 15750, 100; - mesn; - mesq l("Good job, here is 25,000 GP and 15,750 EXP."); - mesq l("And your rare, a @@! Enjoy!", getitemlink(MaggotCocoon)); - close; - case Snake: - setq General_Hunter, 0, 0; - Zeny=Zeny+300000; - getitem StrangeCoin, 80; - getexp 15750, 100; - mesn; - mesq l("Good job, here is 300,000 GP and 80 @@!", getitemlink(StrangeCoin)); - mesc l("Gained @@ XP", "15750"); - close; - case Scorpion: - setq General_Hunter, 0, 0; - Zeny=Zeny+100000; - getexp 15750, 100; - mesn; - mesq l("Good job, here is 100,000 GP!"); - mesc l("Gained @@ XP", "15750"); - close; - case ForestMushroom: - setq General_Hunter, 0, 0; - Zeny=Zeny+175000; - getitem StrangeCoin, 60; - getexp 15750, 100; - mesn; - mesq l("Good job, here is 175,000 GP and 60 @@!", getitemlink(StrangeCoin)); - mesc l("Gained @@ XP", "15750"); - close; - case Pinkie: - setq General_Hunter, 0, 0; - getitem PinkHelmet, 1; - getexp 15750, 100; - mesn; - 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); + GHQ_GetRewardsOnCompletion(); close; OnInit: |