summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;