thank you @cydh
This commit is contained in:
Napster (icxbb-xx) 2016-03-15 21:30:28 +07:00
parent d378ef2a0b
commit ae10da3a61
2 changed files with 7 additions and 7 deletions

View File

@ -743,7 +743,7 @@
716: Your '%s' is now: %d
// MVP EXP reward message
717: Congratulations! You are the MVP! Your reward EXP Points are %d !!
717: Congratulations! You are the MVP! Your reward EXP Points are %u !!
// @showrate
718: Personal rate information is not displayed now.

View File

@ -7915,18 +7915,18 @@ void clif_mvp_exp(struct map_session_data *sd, unsigned int exp) {
if (battle_config.mvp_exp_reward_message) {
char e_msg[CHAT_SIZE_MAX];
sprintf(e_msg, msg_txt(sd, 717), exp);
clif_colormes(sd->fd, color_table[COLOR_CYAN], e_msg); // Congratulations! You are the MVP! Your reward EXP Points are %d !!
clif_colormes(sd->fd, color_table[COLOR_CYAN], e_msg); // Congratulations! You are the MVP! Your reward EXP Points are %u !!
}
#else
int fd;
nullpo_retv(sd);
fd=sd->fd;
WFIFOHEAD(fd,packet_len(0x10b));
WFIFOW(fd,0)=0x10b;
WFIFOL(fd,2)=min(exp,(unsigned int)INT32_MAX);
WFIFOSET(fd,packet_len(0x10b));
fd = sd->fd;
WFIFOHEAD(fd, packet_len(0x10b));
WFIFOW(fd,0) = 0x10b;
WFIFOL(fd,2) = min(exp, (unsigned int)INT32_MAX);
WFIFOSET(fd, packet_len(0x10b));
#endif
}