diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-07 03:03:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-07 03:03:30 -0300 |
commit | 6ee06fdebc63a87a427b751727c777863b76e0a1 (patch) | |
tree | 8f322be8015796823b40d0aa9b2dec71b8a69fd7 | |
parent | a93d1ecbc5995fd5431b69f8d3c368665c5196ef (diff) | |
download | evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.gz evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.bz2 evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.xz evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.zip |
Mount Bonus is now handled exclusively by item script.
ASPD penalty still handled by C code.
Also, always report invalid operations on mailman.
May help in fiding out if mailman ends up stealing players.
(And futurely, in preventing that as well if it wasn't their fault)
-rw-r--r-- | src/emap/horse.c | 2 | ||||
-rw-r--r-- | src/emap/mail.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/emap/horse.c b/src/emap/horse.c index 90c736e..5fafad1 100644 --- a/src/emap/horse.c +++ b/src/emap/horse.c @@ -40,7 +40,7 @@ unsigned short horse_add_speed_bonus(TBL_PC *sd, unsigned short val) if (!data || data->mount == 0) return val; - val -= 25; + //val -= 25; // [TMW2] No builtin bonus - Always by item script } return val; } diff --git a/src/emap/mail.c b/src/emap/mail.c index 5d9e37c..afd8c64 100644 --- a/src/emap/mail.c +++ b/src/emap/mail.c @@ -30,12 +30,15 @@ bool email_invalid_operation_pre(struct map_session_data **sdPtr) return true; } - if (!map->list[sd->bl.m].flag.town) + // [TMW2] Always report, no exceptions + //if (!map->list[sd->bl.m].flag.town) { ShowWarning("clif->parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); hookStop(); return true; } + + // FIXME: Thief mailman? hookStop(); return false; } |