Issue information

Issue ID
#6592
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 30, 2012 16:49
Last Post
Mysterious
Jan 19, 2013 23:51
Confirmation
N/A

Hercules Elf Bot - Aug 30, 2012 16:49

Originally posted by [b]Aleos[/b]
In [i]battle.c[/i] for when RENEWAL is true, the block for Spiral Pierce is not "broken" out of the case and continues to fall on through to Acid Demonstration.

[code]#ifdef RENEWAL
case LK_SPIRALPIERCE:
case ML_SPIRALPIERCE:
{// Formula: Floor[Floor(Weapon Weight/2)*skill level + ATK ]*(100%+50%*s.lvl) * 5 multi-hits
short index = sd?sd->equip_index[EQI_HAND_R]:0;
int weight = 0;

if (sd && index >= 0 &&
sd->inventory_data[index] &&
sd->inventory_data[index]->type == IT_WEAPON)
weight = sd->inventory_data[index]->weight/20;
ATK_ADD(weight * skill_lv)
skillratio += 50*skill_lv;
}
#endif
case CR_ACIDDEMONSTRATION:
skillratio += 7*tstatus->vit - 100;
break;[/code]

You'll need a 'break;' before the '#endif'.

Hercules Elf Bot - Sep 3, 2012 2:52

Originally posted by [b]malufett[/b]
Fixed @ [rev='16738']
:meow: