- 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://svn.code.sf.net/p/rathena/svn/trunk@8660 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-09-07 13:39:49 +00:00
parent acf83e7574
commit 09fa10f2c2
2 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -27,13 +27,13 @@ PLUGIN_EVENTS_TABLE = {
#if defined(_WIN32) || defined(MINGW)
int sig_init() {
ShowError("sig: This plugin is not supported - Enable 'exchndl' instead!");
ShowError("sig: This plugin is not supported - Enable 'exchndl' instead!\n");
return 0;
}
int sig_final() { return 0; }
#elif defined (__NETBSD__) || defined (__FREEBSD__)
int sig_init() {
ShowError("sig: This plugin is not supported!");
ShowError("sig: This plugin is not supported!\n");
return 0;
}
int sig_final() { return 0; }