double[] xpsp = calculateExpAndSp(attacker, partylevel, partyDmg);
double partyMul = (double) partyDmg / maxHp;
xpsp[0] *= partyMul;
xpsp[1] *= partyMul;
xpsp[0] = applyOverhit(killer, xpsp[0]);
party.distributeXpAndSp(xpsp[0], xpsp[1], rewardedMembers, lastAttacker, this);
}
}
}
// Check the drop of a cursed weapon
CursedWeaponsManager.getInstance().dropAttackable(this, killer);