DfaAttackAction daa = (DfaAttackAction) aaa;
toHit = daa.toHit(game);
damage = DfaAttackAction.getDamageFor(ae, (daa.getTarget(game) instanceof Infantry) && !(daa.getTarget(game) instanceof BattleArmor));
} else if (aaa instanceof KickAttackAction) {
KickAttackAction kaa = (KickAttackAction) aaa;
toHit = kaa.toHit(game);
damage = KickAttackAction.getDamageFor(ae, kaa.getLeg(), (kaa.getTarget(game) instanceof Infantry) && !(kaa.getTarget(game) instanceof BattleArmor));
} else if (aaa instanceof ProtomechPhysicalAttackAction) {
ProtomechPhysicalAttackAction paa = (ProtomechPhysicalAttackAction) aaa;
toHit = paa.toHit(game);
damage = ProtomechPhysicalAttackAction.getDamageFor(ae);