From b0f5ccea2c185a4cceb694c8b307424c3d694f1c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 15 Feb 2021 18:43:04 -0300 Subject: [TMW2] Replace monster skill chat message to show message above their heads. Also fixes the "??" bug. Hopefully. --- src/map/mob.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/mob.c b/src/map/mob.c index f953c3c7c..4e0c009ab 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3516,7 +3516,8 @@ static int mobskill_use(struct mob_data *md, int64 tick, int event) snprintf(name, sizeof name,"%s", md->name); strtok(name, "#"); // discard extra name identifier if present [Daegaladh] safesnprintf(temp, sizeof temp,"%s : %s", name, mc->msg); - clif->messagecolor(&md->bl, mc->color, temp); + //clif->messagecolor(&md->bl, mc->color, temp); + clif->disp_overhead(&md->bl, temp, AREA_CHAT_WOC, NULL); // [TMW2] } if(!(battle_config.mob_ai&0x200)) { //pass on delay to same skill. for (j = 0; j < md->db->maxskill; j++) -- cgit v1.2.3-60-g2f50