summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-05 19:53:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-05 19:53:14 +0000
commit961c1f83daaceecd086816d6fd7a0968c61ec250 (patch)
tree7040ea2defa50f26660a0d1b1df5ec122e35d1a7 /src/map
parent0fb0df3a0fa3ac24f9f068d0c1ac664beec03354 (diff)
downloadhercules-961c1f83daaceecd086816d6fd7a0968c61ec250.tar.gz
hercules-961c1f83daaceecd086816d6fd7a0968c61ec250.tar.bz2
hercules-961c1f83daaceecd086816d6fd7a0968c61ec250.tar.xz
hercules-961c1f83daaceecd086816d6fd7a0968c61ec250.zip
- Fixed status change resistance not being invoked at all for pretty much all cases.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8641 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 65fcf8f12..9a95776dd 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4444,7 +4444,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
//Check rate
if (!(flag&(1|4))) {
- int def = flag&(2|8)?status_get_sc_def(bl, type):0;
+ int def = status_get_sc_def(bl, type);
if (def && !(flag&8))
rate -= rate*def/10000;