Issue information

Issue ID
#4960
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Jun 10, 2011 10:54
Last Post
Hercules Elf Bot
Mar 19, 2012 19:25
Confirmation
N/A

Hercules Elf Bot - Jun 10, 2011 10:54

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

CODE
int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val1,int val2,int val3,int val4,int tick,int flag)
{
......
    if( type <= SC_NONE || type >= SC_MAX )
    {
        ShowError("status_change_start: invalid status change (%d)!\n", type);
        return 0;
    }

    if( !sc )
        return 0; //Unable to receive status changes
    
******    if( status_isdead(bl) && type != SC_NOCHAT )    ******
        return 0;

    if( bl->type == BL_MOB && type != SC_SAFETYWALL && type != SC_PNEUMA )
    {
        struct mob_data *md = BL_CAST(BL_MOB,bl);
        if( md->class_ == MOBID_EMPERIUM || mob_is_battleground(md) )
            return 0; //Emperium/BG Monsters can't be afflicted by status changes
    }
......
}


This post has been edited by Uno: Jun 10 2011, 07:54 PM

Hercules Elf Bot - Dec 6, 2011 5:09

Originally posted by [b]Ind[/b]
Fixed in [r=15014]