summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-21 11:04:46 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-21 11:04:46 +0000
commit6b31a90c7f324c1db31da4ccf119abd70c526249 (patch)
tree6b8f57f2f5481de184753551b4fbd5ad0ab53fcc /src
parentb46afa1916e732b71dc16fd4937cd36ad64aa171 (diff)
downloadhercules-6b31a90c7f324c1db31da4ccf119abd70c526249.tar.gz
hercules-6b31a90c7f324c1db31da4ccf119abd70c526249.tar.bz2
hercules-6b31a90c7f324c1db31da4ccf119abd70c526249.tar.xz
hercules-6b31a90c7f324c1db31da4ccf119abd70c526249.zip
cloaking speed fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@289 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 029bddeff..356f2b173 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1452,7 +1452,9 @@ int pc_calcstatus(struct map_session_data* sd,int first)
sd->speed = sd->speed *125/100;
if(sd->sc_data[SC_CLOAKING].timer!=-1) {
sd->critical_rate += 100; // critical increases
- sd->speed = sd->speed * (sd->sc_data[SC_CLOAKING].val3-sd->sc_data[SC_CLOAKING].val1*3) /100;
+ //sd->speed = sd->speed * (sd->sc_data[SC_CLOAKING].val3-sd->sc_data[SC_CLOAKING].val1*3) /100;
+ //clocking speed descreases normally
+ sd->speed = (sd->speed*(76+(sd->sc_data[SC_CLOAKING].val1*3)))/100; // Fixed by MiKa & Asa [Lupus]
}
//sd->speed = (sd->speed*(76+(sd->sc_data[SC_INCREASEAGI].val1*3)))/100;
if(sd->sc_data[SC_CHASEWALK].timer!=-1)