rendered paste body public int calculateAttackSpeed(L2Character target, @SuppressWarnings("unused") L2ItemInstance weaponInst)
{
double atkSpd = 0;
if (this instanceof L2Summon)
{
atkSpd = getPAtkSpd();
} else
{
L2Weapon weapon = this.getActiveWeaponItem();
if (weapon !=null)
{
switch (weapon.getItemType())
{
case DAGGER:
atkSpd = getStat().getPAtkSpd();
atkSpd /= 1.15;
break;
default:
atkSpd = getStat().getPAtkSpd();
}
}
else if (getStat().getPAtkSpd() > 1000);
{
atkSpd = 1000;
}
}
return Formulas.getInstance().calcPAtkSpd(this, target, atkSpd);
}