Issue information

Issue ID
#4939
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 29, 2011 9:33
Last Post
Hercules Elf Bot
May 29, 2011 9:33
Confirmation
N/A

Hercules Elf Bot - May 29, 2011 9:33

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

CODE
    case SP_HP_DRAIN_VALUE:
        if(!sd->state.lr_flag) {
            sd->right_weapon.hp_drain[RC_NONBOSS].value += val;
            sd->right_weapon.hp_drain[RC_BOSS].value += val;
        }
        else if(sd->state.lr_flag == 1) {
            sd->right_weapon.hp_drain[RC_NONBOSS].value += val;
            sd->right_weapon.hp_drain[RC_BOSS].value += val;
        }
        break;


Seems the lr_flag always applies to the right weapon, and never to the left.