diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-03-04 12:23:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-03-04 12:23:07 -0300 |
commit | f30b085ebac6cc6f8fde38f2841ed6bc7eda485f (patch) | |
tree | ba0862a277cd296c9bc0315b62456da170f6c092 | |
parent | 055524d973cf424fb5e27d6d144a9cb03e498aa6 (diff) | |
download | serverdata-f30b085ebac6cc6f8fde38f2841ed6bc7eda485f.tar.gz serverdata-f30b085ebac6cc6f8fde38f2841ed6bc7eda485f.tar.bz2 serverdata-f30b085ebac6cc6f8fde38f2841ed6bc7eda485f.tar.xz serverdata-f30b085ebac6cc6f8fde38f2841ed6bc7eda485f.zip |
And this, is something which was planned for a while...
-rw-r--r-- | npc/003-11/alfred.txt | 2 | ||||
-rw-r--r-- | npc/functions/hub.txt | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/npc/003-11/alfred.txt b/npc/003-11/alfred.txt index 157043cd3..1bfae4b77 100644 --- a/npc/003-11/alfred.txt +++ b/npc/003-11/alfred.txt @@ -65,7 +65,7 @@ L_Working: end; // Calculate your hourly wage -function _calc_wage { +public function _calc_wage { .@wage = 0; /* Player Story (8 arcs) */ // Fortress Arc Complete diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 7f64b1f85..8fb5a7b35 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -163,10 +163,8 @@ function script HUB_Logout { if (@alfred_st) { .@current = gettimeparam(GETTIME_MINUTE); .@hours = (.@current - @alfred_st) / 60; - .@wage = 6800 * getq(General_Narrator) / 23; // "Alfred"::_calc_wage(); + .@wage = "Alfred"::_calc_wage(); .@pay = min(getvariableofnpc(.maxHours, "Alfred"), .@hours) * .@wage; - // I can't really know the wage! >.< - // You'll be underpaid, but there's nothing I can *do* about it now. Zeny += .@pay; // Terminate the work @alfred_st = 0; |