diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
commit | 7bd6dc90242a21989a366a708b244ebf2ec4b44b (patch) | |
tree | 2a16857e0892e7038bab5a2209a189c28fc99060 /src/map/pc.c | |
parent | bcdc5ca3a54da85dee7944a451e6762f692c6c0a (diff) | |
download | hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.gz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.bz2 hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.xz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.zip |
Implemented Renewal ASPD formula(bugreport:5644)
- all suggestions/contributions/comments regarding RE ASPD ATM will be entertained in [tid:63256]
Fixed bugreport:6176 where WM_LULLABY_DEEPSLEEP doesn't target all party and guild members.
Temporarily disable the official walk path until the right algorithm is formulated.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 965636da5..e1ba324b1 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2214,7 +2214,11 @@ int pc_bonus(struct map_session_data *sd,int type,int val) break; case SP_ASPD_RATE: //Stackable increase - Made it linear as per rodatazone if(sd->state.lr_flag != 2) +#ifndef RENEWAL_ASPD status->aspd_rate -= 10*val; +#else + status->aspd_rate2 += val; +#endif break; case SP_HP_RECOV_RATE: if(sd->state.lr_flag != 2) |