} else if (aaa instanceof ThrashAttackAction) {
ThrashAttackAction taa = (ThrashAttackAction) aaa;
toHit = taa.toHit(game);
damage = ThrashAttackAction.getDamageFor(ae);
} else if (aaa instanceof JumpJetAttackAction) {
JumpJetAttackAction jaa = (JumpJetAttackAction) aaa;
toHit = jaa.toHit(game);
if (jaa.getLeg() == JumpJetAttackAction.BOTH) {
damage = JumpJetAttackAction.getDamageFor(ae, JumpJetAttackAction.LEFT);
pr.damageRight = JumpJetAttackAction.getDamageFor(ae, JumpJetAttackAction.LEFT);
} else {
damage = JumpJetAttackAction.getDamageFor(ae, jaa.getLeg());
pr.damageRight = 0;
}
ae.heatBuildup += (damage + pr.damageRight) / 3;
} else if (aaa instanceof GrappleAttackAction) {
GrappleAttackAction taa = (GrappleAttackAction) aaa;