summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2015-11-22 21:26:58 +0800
committerJedzkie <jedzkie13@rocketmail.com>2015-11-22 21:26:58 +0800
commitef5711d061b33849e7ce1d82a4fcd68bc50090a3 (patch)
treefb60a1555ffea074a1e8caa679a6e9c97204554c /src/map/status.c
parent62bca692a28632ba25243c2c9cac09db3249b81f (diff)
downloadhercules-ef5711d061b33849e7ce1d82a4fcd68bc50090a3.tar.gz
hercules-ef5711d061b33849e7ce1d82a4fcd68bc50090a3.tar.bz2
hercules-ef5711d061b33849e7ce1d82a4fcd68bc50090a3.tar.xz
hercules-ef5711d061b33849e7ce1d82a4fcd68bc50090a3.zip
ItemDB Update:
- Fix some item behavior based on Official Servers. • Lucky Rice Cake • Charm Of Luck • Charm Of Happiness • Rune Kn Test Int • Takoyaki • Evasion Scroll • Concentration Scroll
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index f7c336f55..a9ae112df 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5412,7 +5412,7 @@ unsigned short status_calc_speed(struct block_list *bl, struct status_change *sc
if( sc->data[SC_MARSHOFABYSS] ) // It stacks to other statuses so always put this at the end.
val = max( 50, val + 10 * sc->data[SC_MARSHOFABYSS]->val1 );
if (sc->data[SC_STOMACHACHE])
- val = max(val, sc->data[SC_STOMACHACHE]->val2);
+ val = max(val, 50);
if( sd && sd->bonus.speed_rate + sd->bonus.speed_add_rate > 0 ) // permanent item-based speedup
val = max( val, sd->bonus.speed_rate + sd->bonus.speed_add_rate );