diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-31 23:20:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-31 23:20:19 -0300 |
commit | d997e605b78aa3ea6e8ca685296bcce85de5fad1 (patch) | |
tree | f420cb703fc62fa2614829a39781118fd8ba249d /src/map | |
parent | 017b2c873b5665173ce6677de26e0e5cf233f003 (diff) | |
download | hercules-d997e605b78aa3ea6e8ca685296bcce85de5fad1.tar.gz hercules-d997e605b78aa3ea6e8ca685296bcce85de5fad1.tar.bz2 hercules-d997e605b78aa3ea6e8ca685296bcce85de5fad1.tar.xz hercules-d997e605b78aa3ea6e8ca685296bcce85de5fad1.zip |
[TMW2] ASPD FIX
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 63e71c9dc..2b7bd1333 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6124,6 +6124,12 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, s static short status_calc_fix_aspd(struct block_list *bl, struct status_change *sc, int aspd) { nullpo_ret(bl); + + // TMW2 Nerfing + if (aspd < 300) + aspd=cap_value(aspd+(aspd / 2), 0, 300); + + // Status Conditions if (!sc || !sc->count) return cap_value(aspd, 0, 2000); |