Follow up to 0e4ffdacdbe4b39e356ea5e632321fee707a0bfa.
This commit is contained in:
parent
0e4ffdacdb
commit
e6ec0f528f
@ -10017,14 +10017,14 @@ static bool clif_process_message(struct map_session_data* sd, bool whisperFormat
|
|||||||
inline void clif_pk_mode_message(struct map_session_data * sd)
|
inline void clif_pk_mode_message(struct map_session_data * sd)
|
||||||
{
|
{
|
||||||
if (battle_config.pk_mode && battle_config.pk_mode_mes &&
|
if (battle_config.pk_mode && battle_config.pk_mode_mes &&
|
||||||
sd && map[sd->bl.m].flag.pvp) {
|
sd && map[sd->bl.m].flag.pvp) {
|
||||||
if( (int)sd->status.base_level < battle_config.pk_min_level ) {
|
if( (int)sd->status.base_level < battle_config.pk_min_level ) {
|
||||||
char output[CHAT_SIZE_MAX];
|
char output[CHAT_SIZE_MAX];
|
||||||
// 1504: You've entered a PK Zone (safe until level %d).
|
// 1504: You've entered a PK Zone (safe until level %d).
|
||||||
safesnprintf(output, CHAT_SIZE_MAX, msg_txt(sd,1504),
|
safesnprintf(output, CHAT_SIZE_MAX, msg_txt(sd,1504),
|
||||||
battle_config.pk_min_level);
|
battle_config.pk_min_level);
|
||||||
clif_showscript(&sd->bl, output, SELF);
|
clif_showscript(&sd->bl, output, SELF);
|
||||||
} else {
|
} else {
|
||||||
// 1503: You've entered a PK Zone.
|
// 1503: You've entered a PK Zone.
|
||||||
clif_showscript(&sd->bl, msg_txt(sd,1503), SELF);
|
clif_showscript(&sd->bl, msg_txt(sd,1503), SELF);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user