From c2bfb9e7b9e151fb861c6a359145d17bb6b79316 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 18 Aug 2019 01:04:30 -0300 Subject: Release homunculus dispatchment to public. You get 1/5 of Homunculus XP as Job Exp --- npc/017-10/dispatcher.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'npc/017-10') 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; -- cgit v1.2.3-60-g2f50