show(dialog.toString(), caller, null);
}
private static double calcDPS(L2Character self)
{
L2Character target = null;//self.getTarget() != null && self.getTarget().isCharacter() ? (L2Character) self.getTarget() : null;
double def = /*target != null ? target.getPDef(self) :*/ 500;
double critRate = /*target != null ? Formulas.calcCrit(self, target, null) / 100. :*/ self.getCriticalHit(target, null) / 1000.;
double critPower = 2 * self.calcStat(Stats.CRITICAL_DAMAGE, target, null) / 100.;
double critStatic = self.calcStat(Stats.CRITICAL_DAMAGE_STATIC, target, null);
double aSpd = self.getPAtkSpd();