summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-16 20:18:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-16 20:18:35 +0000
commit4c3dba4156da77f7fb54def3d0d6a35528d4271f (patch)
tree071b27d4f6f1414143e800d8d3f52dee5f2191de /src
parentbbb0b19e8c0e88836ee24b4945c4d64a4bf4c5da (diff)
downloadhercules-4c3dba4156da77f7fb54def3d0d6a35528d4271f.tar.gz
hercules-4c3dba4156da77f7fb54def3d0d6a35528d4271f.tar.bz2
hercules-4c3dba4156da77f7fb54def3d0d6a35528d4271f.tar.xz
hercules-4c3dba4156da77f7fb54def3d0d6a35528d4271f.zip
- Fixed the status change duration reduction equation was was totally wrong, thanks to k3dt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8776 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 c314c824b..7045e1f8b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4467,7 +4467,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
if (def && tick && !(flag&2))
{
- tick -= rate*def/10000;
+ tick -= tick*def/10000;
if (tick <= 0)
return 0;
}