Issue information

Issue ID
#6151
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 2, 2012 9:09
Last Post
Hercules Elf Bot
Jul 2, 2012 9:21
Confirmation
Yes (3)
No (0)

Hercules Elf Bot - Jul 2, 2012 9:09

Originally posted by [b]Daegaladh[/b]
In some cases, monsters with entries in the mob_chat_db start spamming their sencentes when they cannot complete the skill.
e.g.: Satan Morroc when trying to do the magic combo (80%) while chasing you.

That's because this code is before executing the skill:

[CODE]
if (ms[i].msg_id){ //Display color message [SnakeDrak]
struct mob_chat *mc = mob_chat(ms[i].msg_id);
char temp[CHAT_SIZE_MAX];
char name[NAME_LENGTH];
snprintf(name, sizeof name,"%s", md->name);
strtok(name, "#"); // discard extra name identifier if present [Daegaladh]
snprintf(temp, sizeof temp,"%s : %s", name, mc->msg);
clif_messagecolor(&md->bl, mc->color, temp);
}[/CODE]

It should be just above this:
[CODE]//Skill used. Post-setups... [/CODE]

Hercules Elf Bot - Jul 2, 2012 9:21

Originally posted by [b]Ind[/b]
Fixed in [rev=16366]