summaryrefslogtreecommitdiff
path: root/npc/017-10
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-18 01:04:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-18 01:04:30 -0300
commitc2bfb9e7b9e151fb861c6a359145d17bb6b79316 (patch)
treee9bf879ccea57814ebbb8bfbf32d1fbe64f224ea /npc/017-10
parentd605effd079c7472ceeffc279e80847d27fcd0f1 (diff)
downloadserverdata-c2bfb9e7b9e151fb861c6a359145d17bb6b79316.tar.gz
serverdata-c2bfb9e7b9e151fb861c6a359145d17bb6b79316.tar.bz2
serverdata-c2bfb9e7b9e151fb861c6a359145d17bb6b79316.tar.xz
serverdata-c2bfb9e7b9e151fb861c6a359145d17bb6b79316.zip
Release homunculus dispatchment to public.
You get 1/5 of Homunculus XP as Job Exp
Diffstat (limited to 'npc/017-10')
-rw-r--r--npc/017-10/dispatcher.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt
index 40d3c88db..23d3e93ba 100644
--- a/npc/017-10/dispatcher.txt
+++ b/npc/017-10/dispatcher.txt
@@ -14,11 +14,13 @@
mesn;
mesq l("Hello. My name is Erik, and I have Homunculus go out in errands in my stead.");
+ // If you haven't summoned yet, or killed it...
if (!gethominfo(0)) {
mesc l("You do not own an Homunculus."), 1;
close;
}
+ // Check what your homunculus is up to
switch (homstatus()) {
case 0:
mesc l("Your homunculus is ready!"), 2;
@@ -37,20 +39,20 @@
break;
}
+ // This is a bug: They are ready but shouldn't be.
if (gettimetick(2) < HOMUN_DEPLOYDATE) {
Exception("ERROR: YOU WERE BANNED FROM USING ERIK SERVICES. (might be a bug).", RB_SPEECH|RB_ISFATAL);
close;
}
- if (!is_admin())
- close;
-
// Homunculus should return from mission
if (homstatus()) {
select
l("Recall");
recallhomunculus();
- gethomunexp(lootField(HOMUN_DEPLOYFIELD));
+ .@xp=lootField(HOMUN_DEPLOYFIELD);
+ gethomunexp(.@xp);
+ getexp 0, (.@xp/5);
close;
}
@@ -200,7 +202,8 @@ L_Main:
getitemlink(MercBoxA)+
getitemlink(AncientBlueprint)+
getitemlink(Lockpicks)+
- getitemlink(StatusResetPotion));
+ getitemlink(StatusResetPotion)+
+ getitemlink(TreasureMap));
mesc l("Rare Drops: "+
getitemlink(MagicApple));
next;