summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir <dastgir@users.noreply.github.com>2016-01-15 18:11:10 +0530
committerDastgir <dastgir@users.noreply.github.com>2016-01-15 18:11:10 +0530
commit1ac0a4831923f7c02338696d83a009371c28c6ad (patch)
treec3badbe43d4078079cebd2007f36ec6e261a90bf
parent9e48e2aebd5777179bd2fc2f45a58f8ad17b1373 (diff)
parentc165ae044579897b7f41f99245874c3a1dab30f6 (diff)
downloadhercules-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
-rw-r--r--src/map/status.c4
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