Issue information

Issue ID
#2251
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 22, 2008 21:10
Last Post
Hercules Elf Bot
Sep 22, 2008 21:10
Confirmation
N/A

Hercules Elf Bot - Sep 22, 2008 21:10

Originally posted by [b]Jasseh[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2251

#monsterignore works fine for turning monsterignore on, but when used to try turn it off it says it works, but leaves monsterignore on the player. Forcing me to kick the player off to remove the monsterignore.

Pretty sure the fix would be changing:

CODE
    } else {
        sd->state.monster_ignore = 0;
        clif_displaymessage(sd->fd, "You are no longer immune to attacks.");
        if (fd != pl_sd->fd)
            clif_displaymessage(pl_sd->fd, "Target player is no longer immune to attacks.");


to:

CODE
    } else {
        pl_sd->state.monster_ignore = 0;
        clif_displaymessage(pl_sd->fd, "You are no longer immune to attacks.");
        if (fd != pl_sd->fd)
            clif_displaymessage(pl_sd->fd, "Target player is no longer immune to attacks.");