diff options
Diffstat (limited to 'npc/017-10')
-rw-r--r-- | npc/017-10/dispatcher.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt index 59d78f527..49bff36a4 100644 --- a/npc/017-10/dispatcher.txt +++ b/npc/017-10/dispatcher.txt @@ -31,6 +31,17 @@ break; case 2: mesc l("Your homunculus is already on a mission!"), 1; + + // Homunculus should return from mission + if (gettimetick(2) > HOMUN_DEPLOYDATE) { + select + l("Recall"); + recallhomunculus(); + .@xp=lootField(HOMUN_DEPLOYFIELD); + gethomunexp(.@xp); + getexp 0, (.@lv*min(10000, gethominfo(3))/10000)*5; + close; + } mesc l("It should be back in @@", FuzzyTime(HOMUN_DEPLOYDATE)), 1; close; break; @@ -45,17 +56,6 @@ close; } - // Homunculus should return from mission - if (homstatus()) { - select - l("Recall"); - recallhomunculus(); - .@xp=lootField(HOMUN_DEPLOYFIELD); - gethomunexp(.@xp); - getexp 0, (.@lv*min(10000, gethominfo(3))/10000)*5; - close; - } - L_Main: select l("Deploy to Piou Fields [1h]"), |