diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-08-21 06:21:44 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-08-21 06:21:44 +0000 |
commit | ad8b21eed7219a457340278ed39642578d48b2eb (patch) | |
tree | f6efe58eafbe1ecdb554f888feb8f40bdd6fc1b9 /src/map/pc.c | |
parent | 8f8f101effc1c7e73af479a5474e59a6ebf3d0d3 (diff) | |
download | hercules-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.c | 8 |
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; |