summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-11 00:07:25 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-11 00:07:25 +0000
commit2f22817e6ab822590613e9777f87a5690918b843 (patch)
treef97e24f007f0201be9ac29c12d5df967fc034521 /src
parentd715c9de85f3870332f7fc78e7754eddfed246bc (diff)
downloadhercules-2f22817e6ab822590613e9777f87a5690918b843.tar.gz
hercules-2f22817e6ab822590613e9777f87a5690918b843.tar.bz2
hercules-2f22817e6ab822590613e9777f87a5690918b843.tar.xz
hercules-2f22817e6ab822590613e9777f87a5690918b843.zip
* Fixed bAutoSpellOnSkill bonuses not working independently of each other (bugreport:4617, since r13596, related r14536).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14574 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 75097343d..065932636 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1500,13 +1500,7 @@ static int pc_bonus_autospell_onskill(struct s_autospell *spell, int max, short
for( i = 0; i < max && spell[i].id; i++ )
{
- if( spell[i].flag == src_skill && spell[i].id == id && spell[i].lv == lv && (spell[i].card_id == card_id || spell[i].rate <= 0 || rate < 0) )
- {
- if( !battle_config.autospell_stacking && spell[i].rate > 0 && rate > 0 )
- return 0;
- rate += spell[i].rate;
- break;
- }
+ ; // each autospell works independently
}
if( i == max )