summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-19 19:40:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-19 19:40:19 +0000
commit334f81bebe92b6014d4b21607de5539d99af0cf1 (patch)
tree77d5e9a5de1ae1c8be254ad5796687f1a2c634a6 /src/map/status.c
parenta2decc5d8acbf0c309c1396d4023c490d6e6a038 (diff)
downloadhercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.gz
hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.bz2
hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.xz
hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.zip
- removed 'skill_fail' message when a ground skill fails as that caues double 'skill failed' messages in several instances.
- Corrected shop freeing using free instead of aFree ,causing memory leak reports. - Corrected the sc def settings modifying tick_def in regards to sc_def instead of tick_def git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11762 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-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 706037115..8a04109b3 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4519,7 +4519,7 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
if (tick_def) {
if (battle_config.pc_sc_def_rate != 100)
- tick_def = sc_def*battle_config.pc_sc_def_rate/100;
+ tick_def = tick_def*battle_config.pc_sc_def_rate/100;
}
} else {
@@ -4535,7 +4535,7 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
if (tick_def) {
if (battle_config.mob_sc_def_rate != 100)
- tick_def = sc_def*battle_config.mob_sc_def_rate/100;
+ tick_def = tick_def*battle_config.mob_sc_def_rate/100;
}
}