summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-07 13:39:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-07 13:39:49 +0000
commit244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0 (patch)
treec188e5e2940d36d72ae8db9ae2c85e6fec02eb30 /src/map/pc.c
parentd7c7784e6328f5467b049e13d4bedaeaef57f495 (diff)
downloadhercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.gz
hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.bz2
hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.xz
hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.zip
- Added error message when attempting to use deprecated bonus bAspd.
- Added missing line terminator on a pair of ShowErrors in the sig plugin. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8660 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index af0603086..26afaf835 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1450,8 +1450,10 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
sd->speed_add_rate = sd->speed_add_rate * (100-val)/100;
break;
case SP_ASPD: //Raw increase
- if(sd->state.lr_flag != 2)
- status->amotion -= val*10;
+// if(sd->state.lr_flag != 2)
+// status->amotion -= val*10;
+ if (battle_config.error_log)
+ ShowError("pc_bonus: bonus bAspd is no longer supported!\n");
break;
case SP_ASPD_RATE: //Non stackable increase
if(sd->state.lr_flag != 2 && status->aspd_rate > 1000-val*10)