Hi
When i die, the potions are still being consumed...
So, i change this...
if(sd->sc.option & OPTION_AUTOPOTS)
{
if( ( type == 0 && ( sd->battle_status.hp*100/sd->battle_status.max_hp ) < rate ||
for this...
if(sd->sc.option & OPTION_AUTOPOTS)
{
if( pc_isdead(sd) ){
return 0;
}
if( ( type == 0 && ( sd->battle_status.hp*100/sd->battle_status.max_hp ) < rate ||