boolean crit2 = false;
boolean miss1 = Formulas.calcHitMiss(this, target);
boolean miss2 = Formulas.calcHitMiss(this, target);
if(!miss1)
{
AttackInfo info = Formulas.calcPhysDam(this, target, null, true, false, attack._soulshot, false);
damage1 = (int) info.damage;
shld1 = info.shld;
crit1 = info.crit;
}
if(!miss2)
{
AttackInfo info = Formulas.calcPhysDam(this, target, null, true, false, attack._soulshot, false);
damage2 = (int) info.damage;
shld2 = info.shld;
crit2 = info.crit;
}
// Create a new hit task with Medium priority for hit 1 and for hit 2 with a higher delay