diff options
author | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 08:16:31 +0000 |
---|---|---|
committer | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 08:16:31 +0000 |
commit | ade714d129fe396f32009bcb7845b6c06e4e5398 (patch) | |
tree | a2cf79063d6281f40501719fd745e73451c446ed /src/map/pc.c | |
parent | 102c2281c2eff9b87c4b6c4f78f3113e989d400d (diff) | |
download | hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.gz hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.bz2 hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.xz hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.zip |
Implemented bonus2 bSPVanishRate for Dark Priest Card - it isn't finished - I get '[Warning]: pc_bonus2: unknown type 0 50 10!' ~.~
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5109 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 31269c150..a46f34611 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1843,6 +1843,12 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val) }
sd->sp_drain_type = val;
break;
+ case SP_SP_VANISH_RATE:
+ if(sd->state.lr_flag != 2) {
+ sd->sp_vanish_rate += type2;
+ sd->sp_vanish_per += val;
+ }
+ break;
case SP_GET_ZENY_NUM:
if(sd->state.lr_flag != 2 && sd->get_zeny_rate < val)
{
|