summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-21 06:21:44 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-21 06:21:44 +0000
commitad8b21eed7219a457340278ed39642578d48b2eb (patch)
treef6efe58eafbe1ecdb554f888feb8f40bdd6fc1b9 /src/map/pc.c
parent8f8f101effc1c7e73af479a5474e59a6ebf3d0d3 (diff)
downloadhercules-ad8b21eed7219a457340278ed39642578d48b2eb.tar.gz
hercules-ad8b21eed7219a457340278ed39642578d48b2eb.tar.bz2
hercules-ad8b21eed7219a457340278ed39642578d48b2eb.tar.xz
hercules-ad8b21eed7219a457340278ed39642578d48b2eb.zip
Added bMagicHPGainValue and bMagicSPGainValue.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14018 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 17a8917cd..acd583ca1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2225,6 +2225,14 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
if(!sd->state.lr_flag)
sd->hp_gain_value += val;
break;
+ case SP_MAGIC_SP_GAIN_VALUE:
+ if(!sd->state.lr_flag)
+ sd->magic_sp_gain_value += val;
+ break;
+ case SP_MAGIC_HP_GAIN_VALUE:
+ if(!sd->state.lr_flag)
+ sd->magic_hp_gain_value += val;
+ break;
case SP_ADD_HEAL_RATE:
if(sd->state.lr_flag != 2)
sd->add_heal_rate += val;