diff options
author | Dastgir <dastgir@users.noreply.github.com> | 2016-01-15 18:11:10 +0530 |
---|---|---|
committer | Dastgir <dastgir@users.noreply.github.com> | 2016-01-15 18:11:10 +0530 |
commit | 1ac0a4831923f7c02338696d83a009371c28c6ad (patch) | |
tree | c3badbe43d4078079cebd2007f36ec6e261a90bf /src/map | |
parent | 9e48e2aebd5777179bd2fc2f45a58f8ad17b1373 (diff) | |
parent | c165ae044579897b7f41f99245874c3a1dab30f6 (diff) | |
download | hercules-1ac0a4831923f7c02338696d83a009371c28c6ad.tar.gz hercules-1ac0a4831923f7c02338696d83a009371c28c6ad.tar.bz2 hercules-1ac0a4831923f7c02338696d83a009371c28c6ad.tar.xz hercules-1ac0a4831923f7c02338696d83a009371c28c6ad.zip |
Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEED
Fixes speed given by cloaking exceed
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index db8c0d6c5..00050e3ed 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8981,8 +8981,8 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t tick_time = 3000; // [GodLesZ] tick time break; case SC_CLOAKINGEXCEED: - val2 = ( val1 + 1 ) / 2; // Hits - val3 = 90 + val1 * 10; // Walk speed + val2 = (val1 + 1) / 2; // Hits + val3 = (val1 - 1) * 10; // Walk speed if (bl->type == BL_PC) val4 |= battle_config.pc_cloak_check_type&7; else |