diff options
author | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-05 14:13:26 +0000 |
---|---|---|
committer | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-05 14:13:26 +0000 |
commit | 4d0d981ae30ca3b643e8727e2e5087b957e5d27a (patch) | |
tree | 3842a643265d4992875707782d83117144316ad2 /src/map/pc.c | |
parent | 13e152b1a9819d6587c9702b7eccd174e62b5e8b (diff) | |
download | hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.gz hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.bz2 hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.xz hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.zip |
- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).
-Fix previous recommit since r16995
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index e1ef92d00..1bc94c147 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2589,14 +2589,10 @@ int pc_bonus(struct map_session_data *sd,int type,int val) if(sd->state.lr_flag != 2) sd->bonus.itemhealrate2 += val; break; - case SP_WEAPON_MATK: - if(sd->state.lr_flag != 2) - sd->bonus.sp_weapon_matk += val; - break; - case SP_BASE_MATK: - if(sd->state.lr_flag != 2) - sd->bonus.sp_base_matk += val; - break; + case SP_EMATK: + if(sd->state.lr_flag != 2) + sd->bonus.ematk += val; + break; case SP_FIXCASTRATE: if(sd->state.lr_flag != 2) sd->bonus.fixcastrate -= val; |