summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-15 18:43:04 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-15 18:43:04 -0300
commitb0f5ccea2c185a4cceb694c8b307424c3d694f1c (patch)
tree5f85bce681c642455368a41d4d10a236b4d03aba
parentd62e4bbeb16585d5170e50c5b5965c33eb96e3e7 (diff)
downloadhercules-b0f5ccea2c185a4cceb694c8b307424c3d694f1c.tar.gz
hercules-b0f5ccea2c185a4cceb694c8b307424c3d694f1c.tar.bz2
hercules-b0f5ccea2c185a4cceb694c8b307424c3d694f1c.tar.xz
hercules-b0f5ccea2c185a4cceb694c8b307424c3d694f1c.zip
[TMW2] Replace monster skill chat message to show message above their heads.
Also fixes the "??" bug. Hopefully.
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
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++)