summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 16:41:04 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 16:41:04 +0000
commit59b53e53d28961eb88e8f4c8e5764c3465f7ab64 (patch)
tree087ed8720b857f329197638cb34802723954037f /src/map/pc.c
parent685eebb38664db365324b0ab8375b08df4e74c3c (diff)
downloadhercules-59b53e53d28961eb88e8f4c8e5764c3465f7ab64.tar.gz
hercules-59b53e53d28961eb88e8f4c8e5764c3465f7ab64.tar.bz2
hercules-59b53e53d28961eb88e8f4c8e5764c3465f7ab64.tar.xz
hercules-59b53e53d28961eb88e8f4c8e5764c3465f7ab64.zip
Follow up r15269, fixed a few typos and a test entry that wasn't meant to be submitted.
- Added new item bonus 'bonus bMatk,<value>'; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15270 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e6aa488bc..1d215d6af 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2346,7 +2346,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
break;
case SP_ADD_HEAL_RATE:
if(sd->state.lr_flag != 2)
- sd->sp_weapon_matk += val;
+ sd->add_heal_rate += val;
break;
case SP_ADD_HEAL2_RATE:
if(sd->state.lr_flag != 2)
@@ -2360,6 +2360,10 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
if(sd->state.lr_flag != 2)
sd->sp_weapon_matk += val;
break;
+ case SP_BASE_MATK:
+ if(sd->state.lr_flag != 2)
+ sd->sp_base_matk += val;
+ break;
default:
ShowWarning("pc_bonus: unknown type %d %d !\n",type,val);
break;